On Thu, Mar 10, 2011 at 10:17:08AM +0100, Corinna Vinschen wrote: > On Mar 9 20:29, Thomas Wolff wrote: > > Am 09.03.2011 10:26, schrieb Corinna Vinschen: > > >That's certainly feasible in some way, but I don't understand what > > >you're trying to accomplish. In what situation would this have to be > > >changed on a per-system level? Why isn't it sufficient that the > > >user can change it in the own user profiles? > > For example if cygwin is still installed on a FAT drive (I know ...) > > it may be useful (for all users) to switch /tmp to an NTFS directory > > (e.g. XWin used to fail with a FAT /tmp for a while). > > If you really do this, you're doing something wrong in my opinion. > But, point taken. > > David, any problem to create tmp.sh and tmp.csh in profile.d for this > purpose? > > Anyway, after that change it's really time to start using the new > base-files package. It's pending already too long, IMHO.
I've been thinking about this, and I'd rather keep TMP/TEMP set to /tmp in /etc/profile. This is mainly because the code that sets HOME could need TMP to be already set under some circumstances, and the function that sources the scripts under /etc/profile.d is only called after that has happened (as it is currently written). I prefer to supress that flexibility, release base-files-4.0-4, and have it tested widely, so people can hunt me down for breaking their ENVs :D -- Huella de clave primaria: 0FDA C36F F110 54F4 D42B D0EB 617D 396C 448B 31EB
signature.asc
Description: Digital signature