The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 08-31-2007
Unbeliever Unbeliever is offline
Registered User
 

Join Date: Jul 2005
Location: England
Posts: 183
Only the owner of a file or root may change the permissions on a file no matter what its current permissions maybe.

Root may delete any file. But for any other id there are restrictions as follows: You may delete any file in any directory in which you have write access to even if you do not own the file (unless the sticky bit is set on that directory).

If you have write access to the file, but not the directory it is in, then you may edit it but NOT delete it.
Reply With Quote