XFS Gurus,
Quick question about ACL and file mode.
According POSIX1003.1eD16, in file mode the MASK is set instead of the
GROUP entry, if there is a MASK. Why don't we use MASK AND GROUP Bit?
Are there any potential problems if we do it like that?
I found a problem with Samba 2.2.4 + Linux2.4.18 + XFS 1.1.
This is what I get: ( note: 'aaaa' is created from a samba client, and
the parent directory's default acl is
u::rwx,g::rwx,o::rwx,u:aa:r-x,m::rwx )
------------------------------------------------------------------------
---------
bash-2.04# ls -l aaaa
-rwxrwxrw- 1 juer.lee users 0 Feb 25 07:42 aaaa
bash-2.04# getfacl aaaa
# file: aaaa
# owner: juer.lee
# group: users
user::rwx
group::rw-
other::rw-
user:aa:r-x
mask::rwx
------------------------------------------------------------------------
---------
When I use LS command, it says all owning-group users have full access
right, it is not right --- the result got from GETFACL reflected
correctly.
Could anybody tell me a solution? My solution is set the group entry
bits as GROUP_ENTRY & MASK if there is a MASK, but it is not the
POSIX1003.1eD16 standard.
Juer
|