[Samba] File permissions

Jeremy Allison jra at samba.org
Wed Dec 3 18:22:20 GMT 2008


On Wed, Dec 03, 2008 at 11:56:26AM -0600, mjb at SRINC.biz wrote:
> 755 root.matt
> 
> I changed that to 755 root.root and changed the file permissions to 770 
> bek.trusted (matt is part of the 'trusted' group).  Now I can open the 
> file, but can't delete it.. I expected to be able to open it and delete 
> it.. 

Permission to delete a file in POSIX is an attribute of
the containing directory (that's what you're modifying)
not the file itself.

Jeremy.


More information about the samba mailing list