Samba, XFS and NT acls

Jeremy Allison jra at samba.org
Mon Dec 3 12:14:15 GMT 2001


On Sat, Dec 01, 2001 at 06:31:06PM +0100, Siavosh Akhtary wrote:
> Dear All,
> 
> I wonder if someone could help me with a problem I have on a Linx 
> fileserver with Samba 2.2.2, XFS and NT acls.
> 
> This works just fine in the NT environment , and also if I do a 
> getfacl myfile.txt the correct permissions are there:
> 
> # file: myfile.txt
> # owner: siavosh
> # group: users
> group:dba:r--
> user::rwx
> group::---
> other::---
> mask::rwx
> 
> but if I do check the UNIX file permissions with ls i get the 
> following:
> # ls -l myfile.txt
> -rwxrwx---    1 siavosh  users          15 Nov 30 16:27 myfile.txt
> 
> which is not correct, since I did not change the group permissions 
> with the chmod.
> 
> The funny think is if I try to modify the file with another user in 
> the "users" group I get "permission denied, file is read only"
> 
> Any ideas?

When you have an ACL on the file, ls is showing the
mask entry, not the group entry. I think that's just
the way it is (my POSIX ACL spec is at home at the
moment, can't get to it for a while).

Jeremy.




More information about the samba mailing list