eos acl [-l|--list] [-R|--recursive] [-p | --position <pos>] [-f | --front] [--sys|--user] [<rule>] <path>
atomically set and modify ACLs for the given directory path
-h, --help : print help message
-R, --recursive : apply to directories recursively
-l, --list : list ACL rules
-p, --position : add the acl rule at specified position
-f, --front : add the acl rule at the front position
--user : handle/list user.acl rules on directory
--sys : handle/list sys.acl rules on directory
<rule> is created similarly to chmod rules. Every rule begins with
[u|g|egroup] followed by ":" or "=" and an identifier.
":" is used to for modifying permissions while
"=" is used for setting/overwriting permissions.
When modifying permissions every ACL flag can be added with
"+" or removed with "-
By default rules are appended at the end of acls
This ordering can be changed via --position flag
which will add the new rule at a given position starting at 1 or
the --front flag which adds the rule at the front instead
Examples:
acl --user u:1001=rwx /eos/dev/
Set ACLs for user id 1001 to rwx
acl --user u:1001:-w /eos/dev
Remove 'w' flag for user id 1001
acl --user u:1001:+m /eos/dev
Add change mode permission flag for user id 1001
acl --user u:1010= /eos/dev
Remove all ACls for user id 1001