View Single Post
  #4   (View Single Post)  
Old 5th February 2009
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Real Name: Ben
Spam Refugee
 
Join Date: Jul 2008
Location: Rotterdam, The Netherlands
Posts: 336
Default

Please use 1777, not 777. That way only users that put a file in /tmp can delete it. Else everyone can delete any file in /tmp. See chmod(2) and sticky(8).

(posted as clarification for others)

Last edited by DutchDaemon; 5th February 2009 at 02:20 PM.
Reply With Quote