0% found this document useful (0 votes)
49 views9 pages

ACL Permission

Access control lists provide a more flexible permission mechanism for file systems by allowing specific permissions to be set for individual users and groups on particular files and directories. ACLs allow permissions to be set for a user who is not a member of the owning group of a file or directory. The syntax for getting and setting ACLs using the getfacl and setfacl commands is shown.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views9 pages

ACL Permission

Access control lists provide a more flexible permission mechanism for file systems by allowing specific permissions to be set for individual users and groups on particular files and directories. ACLs allow permissions to be set for a user who is not a member of the owning group of a file or directory. The syntax for getting and setting ACLs using the getfacl and setfacl commands is shown.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

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

You might also like