[Samba] Bug? "inherit acls" not working as expected
initiators at free.fr
initiators at free.fr
Fri Jan 4 14:40:47 GMT 2008
Hello
I'm running Debian Etch with distro kernel & Samba package (2.6.18-5-686
& 3.0.24-6etch9).
In my smb.conf I have :
inherit owner = yes
inherit permissions = yes
inherit acls = yes
I start with a dir test1 with no rights for group smb-Users, rx for
group smb-Inf, and rwx for group smb-Bme-Fr :
root at samba1:/mnt/temp # ll
total 28
drwxr-xr-x 4 root root 4096 2008-01-04 15:08 .
drwxr-xr-x 4 root root 29 2008-01-04 14:38 ..
drwx------ 2 root root 16384 2008-01-04 14:37 lost+found
drwxrwx---+ 2 root smb-Users 4096 2008-01-04 15:25 test1
root at samba1:/mnt/temp # getfacl test1/
# file: test1
# owner: root
# group: smb-Users
user::rwx
group::---
group:smb-Inf:r-x
group:smb-Bme-Fr:rwx
mask::rwx
other::---
>From a Windows XP client with a user member of the group smb-Bme-Fr I
create a dir test2 in dir test1, then I have :
root at samba1:/mnt/temp # ll test1/
total 20
drwxrwx---+ 3 root smb-Users 4096 2008-01-04 15:26 .
drwxr-xr-x 4 root root 4096 2008-01-04 15:08 ..
drwxrwx---+ 2 root smb-Users 4096 2008-01-04 15:26 test2
root at samba1:/mnt/temp # getfacl test1/test2/
# file: test1/test2
# owner: root
# group: smb-Users
user::rwx
group::rwx
group:smb-Inf:r-x
group:smb-Bme-Fr:rwx
mask::rwx
other::---
The group smb-Users should have no rights on test2, inherited from the
test1 dir, but it has rwx. A user belonging to smb-Users and smb-Inf has
rwx access and he should have just rx.
I'm using XFS on my Samba server, I tried with ext3 with same results.
More information about the samba
mailing list