Sujet : Re: any way to completely disable Emacs eln-cache
De : jackstrangio (at) *nospam* yahoo.com (Jack Strangio)
Groupes : comp.os.linux.miscDate : 06. Jul 2024, 06:22:33
Autres entêtes
Organisation : North Star Horizon Builders Club
Message-ID : <sG6s8v.B6nB@yahoo.com>
References : 1
User-Agent : TASS News Reader 3.7.2 jvs [linux]
Lew Pitcher <
lew.pitcher@digitalfreehold.ca> writes:
The /tmp directory must be made available for programs that require
temporary files.
Programs must not assume that any files or directories in /tmp are
preserved between invocations of the program.
Exactly. **temporary** files are just that: temporary.
You don't expect them to be there after a reboot, or the next time your
program runs, or whatever.
If you want files to remain somewhere, you put them somewhere specific that is
**not** one of the tmp directories. And you name it such that there can be
multiple instances of it, such as
'/some-permanent-directory/my_program_errors-[PID-NUMBER]'
Any well-behaved program should destroy all of its temporary files after it
has finished with them.
That doesn't always happen. I'm looking at you GTK with your /tmp/gtk_errs
that might end up being owned by root, unable to be removed by non-root
users, and which causes GTK programs not owned by root to crash:
m70t [jvs] /home/jvs > gparted
bash: /tmp/gtk_errs: Permission denied
m70t [jvs] /home/jvs >
Regards.
Jack
-- She came late to bed at 3AM. "You're drunk" I said.She asked "How do you know?""You live next door." I replied.