Monday, May 16, 2011

ACL

required package:
acl-2.2.49-4.el6.x86_64

Mount a filesystem to use ACL
mount -t ext4 -o acl /dev/mapper/myvg-lvhome /home

Set the ACL
setfacl -m u:chris:rwx /home/file1

Check ACL
getfacl /home/file1

Remove ACL
setfacl -x u:chris file1

No comments:

Post a Comment