Redhat – Configuring ACL

Posted: February 24, 2010 in Redhat

This is the best site to understand ACL

http://www.vanemery.com/Linux/ACL/linux-acl.html

- First Mount the partition with ACL support
- vi /etc/fstab
- /dev/emcpowerb1 /backup ext3 defaults,acl 0 0
- mount -o remount /export
- Ckeck with mount command
- sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/emcpowerb1 on /backup type ext3 (rw,acl)

getfacl /

[root@gorgon Finance]# getfacl Planning
# file: Planning
# owner: root
# group: root
user::---
user:paulb:rwx
user:tomc:rwx
user:peterw:rwx
group::---
mask::rwx
other::---

- Set user level Permission
- setfacl -m u:paulb:rwx Planning
- Take out group and other permission
- setfacl -m u::---,g::---,o:--- Planning


Leave a comment