[Samba]Permission issue

TSZ tenroh at o2.pl
Sat Jul 1 15:45:14 GMT 2006

Michael Gasch napisał(a):
> and you can solve this with the sticky bit
> http://docsrv.sco.com:507/en/OSAdminG/ssC.stickydirs.html
> you could also try to play with "map read only (S)" parameter.
Thank you for your help and link. I know the "sticky bit", but I don't 
know how to implement it for new files created in folder for everyone. 
I've tried with the "sticky bit" for this folder and create mask = 4555, 
but it doesn't work.
> Jeremy Allison wrote:
>> On Sat, Jul 01, 2006 at 12:20:42AM +0200, TSZ wrote:
>>> Hello,
>>> I am beginner of Samba, but today I have made update of Samba to 
>>> RC3. I have two users:root and tomek. tomek is in linux groups: 
>>> smbadmins, smbusers and nothing more. There is a folder for everyone 
>>> and file made by the root in it:
>>> total 4 -rw------- 1 root root 1195 Jul 1 00:11 group.txt
>>> User tomek is not able to read the file, but is able to delete it, 
>>> why? I have no entries in group map.
>> Because in UNIX, permission to delete a file is granted by the
>> permissions on the directory containing it, not on the file
>> itself.
>> Jeremy. 

More information about the samba mailing list