Casper.Dik at sun.com wrote: > >If the directory is created with the POSIX file owner == the owner > >of the directory and if the mode ia 1777, it is possible for the owner > >to remove files creted by other users by doing: > > > >chmod u-t $TMPDIR > >rm $TMPDIR/some-file > >chmod u+t $TMPDIR > > Even without the chmod as the removal of a file in a sticky directory > is allowed by both the owner of the file and the owner of the directory.
Maybe I forgot about this because /tmp/ is owned by root ;-) J?rg -- EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin js at cs.tu-berlin.de (uni) schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily