I don't know if this is relevant, but I'm using linux 2.4.3, compiled with
XFS support. And had a few starting problems, first was that the kernel hung
up on me, if I didn't compile ACL cupport into the kernel along with XFS.
This is not mentioned in the howto. The second, is the use of the acl :-)
I've got the XFS file system mounted under /opt/xfs ... and then I've got
the following file in that directory:
-rw-r--r-- 1 root root 46 Jún 24 12:16 testing
It's parent directory looks like this:
drwxrwxrwx 2 root root 20 Jún 24 12:16 xfs
Anybody can write to the directory... now the acl of the file testing looks
like this:
/opt/xfs/testing []
And then another user logs in, and edits the file with 'vi' and writes with
':w!' this is what it looks like after that ordeal:
-rw-r--r-- 1 asta users 21 Jún 24 12:27 testing
Then I try setting access control... to see if its the missing acl that is
the problem.
/opt/xfs/testing [u::rw-,g::r--,o::r--,u:oehansen:rw-,m::r--]
and make root the owner again... and again, the user asta tries to edit the
file:
-rw-r--r-- 1 asta users 29 Jún 24 12:32 /opt/xfs/testing
I think this is a major concern...
Sincerely,
Orn
|