[CLUE-Tech] Permissions?
    Jim Ockers 
    ockers at ockers.net
       
    Tue Apr 13 17:03:46 MDT 2004
    
    
  
Angelo,
> I'm a little hazy on all the caveats for file permissions after the
> following occured to me:
> 
> I was a member of the group that owned the file, but the write permission
> was NOT set for the group, and I was able to delete the file.  It did ask
> me "remove read only file?" but it still allowed me when I said yes.  The
> owner had both read and write set.  Why would it allow me to remove the
> file if I don't have write permission?
You can unlink files in a directory to which you have write permission.
If you have write permission to a directory with the "sticky" bit set 
like /tmp, then you cannot unlink files that you do not own, unless you 
are root.
HTH, HAND.
-- 
Jim Ockers, P.Eng. (ockers at ockers.net)
Contact info: please see http://www.ockers.net/
    
    
More information about the clue-tech
mailing list