James Carlson wrote: > John Plocher writes: >> This leads me to ask why not set TMPDIR to $HOME/tmp? > > I understand the impulse, but please don't do that. $HOME is commonly > NFS-mounted, and puting $TMPDIR there will trash setuid applications.
$HOME/tmp also introduces locking issues if the same applications are run by the same user on multiple hosts at the same time. Some applications assume that $TMPDIR is local to the host (rightly or wrongly isn't the issue but the fact that they do at all). -- Darren J Moffat