Re: t bit and symlinks patch

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 18 Oct 1996 22:46:33 +0100 (BST)


> Here is an implementation of my proposal for fixing the
> "symlink-in-/tmp" style of security hole.
>
> Please let me know if you can see any problems with this patch, or a
> better way of doing it.

Nice idea. IMHO however the fix is to stop people writing applications
that use /tmp for everything. /tmp was a great idea once upon a time. Its
value nowdays is a bit questionable. Better that daemons use /var/run
and applications $HOME/.files

Alan