[Samba]Permission issue

Michael Gasch gasch at eva.mpg.de
Sat Jul 1 07:55:39 GMT 2006


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.

greez

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