On 1/2/11, anonymous <p37si...@lavabit.com> wrote: > dmenu cache should be stored under $HOME because different users use > different $PATH. In my .profile I set > I like the notion of free-form $HOME, uncluttered of any autocreated files and standardized (as in known at build-time). Rather, each user should have subdirectories of various sustem directories. If that seems like making user deletion a PITA, sites could also standardize on /home/$USER/lib, doc, etc.
The point of the XDG Base Directory standard is to allow both. IMO, this is fugly, and cpp constants should be used instead. This may seem sane, as you need to get $USER from the environment anyway, but if you wreck your system and download documentation using uzbl as root (with minimal env) you may get files ment for XDG Base Directories linked in $PWD, which just might be /. > export XDG_CONFIG_HOME="$HOME/etc" > export XDG_CACHE_HOME="$HOME/var/cache" > If you do that for all users, and keep their data in the same namespace, $HOME, you risk them accidentally creating files with reserved names, or modifying specially named files as free formatted.