[opensuse] ACL on EXT4 FS (Suse 11.2)
Hello, Although I see my ext4 file system is mounted with ACL, (rw,acl,user_xattr), I can't set ACL permissions. I read that a kernel module needs to added for ACL support on ext4. Could anyone provide any details on how I can accomplish that? Many thanks in advance. James -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, Nov 1, 2010 at 6:09 PM, James D. Parra <jamesp@musicreports.com> wrote:
Hello,
Although I see my ext4 file system is mounted with ACL, (rw,acl,user_xattr), I can't set ACL permissions. I read that a kernel module needs to added for ACL support on ext4.
Could anyone provide any details on how I can accomplish that?
Many thanks in advance.
James
James, I'm not familiar with a special kernel module being needed, but I'm running ext3 on this pc. Just to be sure its not a syntax error in what your typing, try this.
mkdir it1
getfacl it1 # file: it1 # owner: gaf # group: users user::rwx group::r-x other::r-x
setfacl -d -m group:users:rw it1
getfacl it1 # file: it1 # owner:gaf # group:users user::rwx group::r-x other::r-x default:user::rwx default:group::r-x default:group:users:rw- default:mask::rwx default:other::r-x
That should work. If not, something is indeed wrong. fyi: If you're curious what the above does, see: http://old-en.opensuse.org/How_to_share_directories_between_groups_of_users_... Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, Nov 1, 2010 at 6:09 PM, James D. Parra <jamesp@musicreports.com> wrote:
Hello,
Although I see my ext4 file system is mounted with ACL, (rw,acl,user_xattr), I can't set ACL permissions. I read that a kernel module needs to added for ACL support on ext4.
Could anyone provide any details on how I can accomplish that?
Many thanks in advance.
James
James, I'm not familiar with a special kernel module being needed, but I'm running ext3 on this pc. Just to be sure its not a syntax error in what your typing, try this. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Thanks Greg. However the problem appears to be unique to the ext 4 file system. #setfacl -dm g:usergroup:rw /data/acl-test/ setfacl: Option -m: Invalid argument near character 3 The same command works on an ext3 and XFS without receiving an error. Best, James -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* James D. Parra <jamesp@musicreports.com> [11-01-10 19:18]:
Thanks Greg. However the problem appears to be unique to the ext 4 file system.
#setfacl -dm g:usergroup:rw /data/acl-test/ setfacl: Option -m: Invalid argument near character 3
The same command works on an ext3 and XFS without receiving an error.
Well, Greg's example works for me on ext4. Are you sure there is a group "usersgroup"? ps: setfacl -dm g:users:rw works fine.... -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Greg Freemyer
-
James D. Parra
-
Patrick Shanahan