xfs
[Top] [All Lists]

ACL and File Mode

To: <linux-xfs@xxxxxxxxxxx>
Subject: ACL and File Mode
From: "Juer Lee" <Juer.Lee@xxxxxxxxxx>
Date: Thu, 6 Jun 2002 11:27:00 +0100
Sender: owner-linux-xfs@xxxxxxxxxxx
Thread-index: AcINOWOg27vaMibxQsGnLjem71KNhAACeB0Q
Thread-topic: Problems with xfsdump on snapshot LV
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


<Prev in Thread] Current Thread [Next in Thread>