Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
acltool(1)			acltool man page		      acltool(1)

NAME
     acltool - manipulate NFSv4 and ZFS ACLs

SYNOPSIS
     acltool [<option>*] [<action> [<option>*] [<path>*]]

     lac [<option>*] <path>*

     sac [<option>*] [<acl>] <path>+

     edac [<option>*] [<simple-change>] <path>+

DESCRIPTION
     acltool  is a tool to manipulate NFSv4 & ZFS ACLs in various ways. POSIX.1e
     ACLs is not supported as of this time.

ABBREVIATIONS
     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.

OPTIONS
     -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)

ACTIONS
     help
	    Display usage information about all actions, or more detailed infor-
	    mation 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
     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  op-
     tions  (not action-specific options). Environment variables may be accessed
     using ${name}.

ALTERNATIVE PROGRAM NAMES
     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 short-
     cut to "acltool lac" from a Shell.

SEE ALSO
     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)

BUGS
     No known bugs

SOURCE
     https://github.com/ptrrkssn/acltool

AUTHOR
     Peter Eriksson <pen@lysator.liu.se>

1.16.1				   12 May 2020			      acltool(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=acltool&sektion=1&manpath=FreeBSD+15.1-RELEASE+and+Ports>

home | help