acltool - manipulate NFSv4 and ZFS ACLs
acltool [<option>*] [<action>
[<option>*] [<path>*]]
lac [<option>*] <path>*
sac [<option>*] [<acl>]
<path>+
edac [<option>*]
[<simple-change>] <path>+
acltool is a tool to manipulate NFSv4 & ZFS ACLs in various ways.
POSIX.1e ACLs is not supported as of this time.
All actions or long options may be abbreviated freely as long as
they can be uniqely identfied. For example edit-access may be
abbreviated to edac, ed-ac, edit-acc or edit and
many other variants. Similarly --no-update may (for example) be
abbreviated to --no-up or --nu.
- -h | --help
- Display usage information.
- -v | --verbose
- Increase verbosity
- -n | --no-update
- No-update mode.
- -s | --sort
- Enable Sort ACL mode.
- -m | --merge
- Enable Merge ACL mode.
- -r | --recurse
- Recurse thru directory tree.
- -d <n> | --depth=<n>
- Limit recursion depth.
- -S <s> | --style=<S>
- Set ACL print style.
- -p | --print
- Increase Print ACL mode.
- -n | --no-update
- Never modify ACLs on disk.
- -N | --no-prefix
- Do not print path prefix when listing matching ACL entries.
- -e <cr> | --exec=<cr>
- Add a semicolon-separated list of <change-requests> to be applied to
ACLs (only for edit-access)
- -f <file> | --file=<file>
- Read a semicolon or line-separated list of <change-requests> from a
file to be applied to ACLs (only for edit-access)
- help
-
Display usage information about all actions, or more detailed information
about a specific one.
- list-access (lac)
-
List ACLs
- set-access (sac)
-
Set ACLs
- edit-access (edac)
-
Modify ACLs
- touch-access (tac)
-
Modify ACLs
- get-access (gac)
-
Get ACLs into variables in brief text format.
- change-directory (cd)
-
Change current directory
- print-working-directory (pwd)
-
Print current working directory
- exit-command (exit)
-
Exit from interactive mode.
- echo
-
Print text
- version
-
Print version and buiild information.
Interactive Mode is entered if you do not specify an action on the
command line. In this mode tab-completion works for commands and common long
options (not action-specific options). Environment variables may be accessed
using ${name}.
You may make symbolic links to acltool in order to use actions directly.
For example "ln -s acltool lac" makes it possible to use
"lac" as a shortcut to "acltool lac" from a Shell.
- BSD
- setfacl(1), getfacl(1), acl(3), acl(9)
- SunOS
- acl(2), chmod(1), ls(1), acl(5)
- Linux
- nfs4_getfacl(1), nfs4_setfacl(1), nfs4_acl(5), acl(5)
- MacOS
- acl(3), ls(1), chmod(1)
- RFC's
- RFC3530 (NFSv4.0) RFC5661 (NFSv4.1) RFC7862 (NFSv4.2) RFC8276 (File System
Extended Attributes in NFSv4)
https://github.com/ptrrkssn/acltool
Peter Eriksson <pen@lysator.liu.se>