Re: /tmp on multi-FS set-ups, or: block users from using /tmp?
> Again, I thought that:
> There is a single base directory relative to which user-specific
> non-essential (cached) data should be written. This directory is defined
> by the environment variable $XDG_CACHE_HOME.
>
> There is a single base directory relative to which user-specific runtime
> files and other file objects should be placed. This directory is defined
> by the environment variable $XDG_RUNTIME_DIR.
>
>
> (http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html)
>
> I think these two definitions cover what most "users" (i.e. *human*
> users) would use /tmp for.
$ echo $XDG_CACHE_DIR |wc
1 0 1
Yes they do cover many uses but several programs need to be fixed, and to
include code to empty the directory afterwards.
If you don't plan to fix them all, and until those directories are actually
used, you don't have a good point.
Besides office systems usually have a NFS /home and a local /tmp which means
that writing cache on the home is bad. But that's quite a specific situation
and we shouldn't bother too much for it.
Bye
--
Salvo Tomaselli
Reply to: