ACCESS CONTROL LIST
Access control list (ACL) provides an additional, more
flexible permission mechanism for file systems
Access control list is service which is use for providing
special permission to specific user and group to
particular directories and file
Think of a scenario in which a particular user is not
a member of group created by you but still you want to
give some read or write access, how can you do it
without making user a member of group, here comes in
picture Access Control Lists, ACL helps us to do this trick.
Syntax:
#getfacl <name of file or directory>
eg.
#getfacl /experia
#setfacl -m u:ajay:rwx /experia
#setfacl -x u:ajay: /experia
#setfacl -m g:sonygrp:rwx /experia
#setfacl -x g:sonygrp: /experia
#setfacl -b /experia