lkml.org 
[lkml]   [1996]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: t bit and symlinks patch
alan@lxorguk.ukuu.org.uk (Alan Cox)  wrote on 18.10.96 in <m0vEMkT-0005FcC@lightning.swansea.linux.org.uk>:

> > 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

A quite obvious variation for users would be to have /tmp/$LOGIN (probably
not under /tmp, though). Of course, ~/tmp does just as well, except for
automatic cleanup. (Hmm ... so maybe both are useful?)

And have a general area for data exchange between different users. Not all
people want to open up their home directories to do that.

Of course, except for Andrew's patch, nothing of this has anything to do
with the kernel ...

MfG Kai

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.197 / U:0.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site