Where should users have their temp files?
There are some nasty attacks with links and symlinks in temp directories
(see bugtraq for an extended list). Some programs solve this by
putting temp files in home directories. This is clearly suboptimal
(networked home directory, quotas, ...). /tmp and /var/tmp are there
for a good reason.
One possible solution would be to give each user a personal
/var/tmp/<username>, mode 700, and have as many functions (mktemp, ...)
return a string to there.
Loss: a few inodes.
Gain: fewer security holes.
Thomas Koenig, Thomas.Koenig@ciw.uni-karlsruhe.de, firstname.lastname@example.org.
The joy of engineering is to find a straight line on a double
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .