Linux "chacl" Command Line Options and Examples
change the access control list of a file or directory

chacl is an IRIX-compatibility command, and is maintained for those users who are familiar with its use from either XFS or IRIX. Refer to the SEE ALSO section below for a description of tools which conform more closely to the (withdrawn draft) POSIX 1003.1e standard which describes Access Control Lists (ACLs).


Usage:

chacl acl pathname...
chacl -b acl dacl pathname...
chacl -d dacl pathname...
chacl -R pathname...
chacl -D pathname...
chacl -B pathname...
chacl -l pathname...
chacl -r pathname...






Command Line Options:

-b
Indicates that there are two ACLs to change, the first is the file access ACL and the second the directory default ACL.
chacl -b ...
-d
Used to set only the default ACL of a directory.
chacl -d ...
-R
Removes the file access ACL only.
chacl -R ...
-D
Removes directory default ACL only.
chacl -D ...
-B
Remove all ACLs.
chacl -B ...