[Samba]Permission issue

Jeremy Allison
2006-06-30T22:26:10Z

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.