SETFACL(1) Access Control Lists SETFACL(1) (NAME) setfacl - (SYNOPSIS) setfacl [-bkndRLPvh] [{-m|-x} acl_spec] [{-M|-X} acl_file] file ... setfacl --restore={file|-} (DESCRIPTION) (ACL) . ( ...). -m -x ACL . ACL (`,') . -M -X ACL . ACL << ACL>> . --set --set-file (ACL) . ACL . ACL . -m (--modify) -M (--modify-file) (ACL) . ACL . -x (--remove) -X (--remove-file) ACL . . ACL perms POSIXLY_CORRECT . -M -X setfacl getfacl . ACL . (`#') . setfacl ACL setfacl . ACL setfacl ACL 0 . (PERMISSIONS) CAP_FOWNER ACL . . ( (root) CAP_FOWNER .) (OPTIONS) -b, --remove-all ACL. ACL . -k, --remove-default ACL (Default ACL). ACL . -n, --no-mask (effective rights mask) . setfacl ACL . ( ). --mask ACL ( -n ). -d, --default ACL . ACL ACL . ACL ( ). --restore={file|-} `getfacl -R' . . setfacl . ( setuid setgid sticky ) setfacl . `--test' . '-' . --test . ACL ACL . -R, --recursive . `--restore' . -L, --logical . . -R `--restore' . -P, --physical . . -R `--restore' . -v, --version setfacl . -h, --help . -- . . - setfacl . ACL (ACL ENTRIES) setfacl ACL ( ): [d[efault]:] [u[ser]:]uid [:perms] (). uid . [d[efault]:] g[roup]:gid [:perms] . gid . [d[efault]:] m[ask][:] [:perms] (Effective rights mask). [d[efault]:] o[ther][:] [:perms] (). (Whitespace) . ACL (modify) (set) ( -m, -M, --set --set-file). perms ( -x -X). uid gid . () ( \101 'A'). ( \\). perms (r) (w) (x) . perms (-) . X . perms (4) (2) (1) . perms perms . (AUTOMATICALLY CREATED ENTRIES) ACL . ACL : * . . * ACL . * ACL ACL ACL ( ) . * ACL . setfacl : * ACL . -n ( -n ). * ACL ACL ACL ACL . * ACL ACL . -n ( -n ). (EXAMPLES) : setfacl -m u:lisa:r file ( ): setfacl -m m::rx file ACL : setfacl -x g:staff file ACL : getfacl file1 | setfacl --set-file=- file2 ACL ACL : getfacl --access dir | setfacl -d -M- dir POSIX 1003.1e (CONFORMANCE TO POSIX 1003.1e DRAFT STANDARD 17) POSIXLY_CORRECT setfacl : . ``default:'' . -x -X ( ). (AUTHOR) (Andreas Gruenbacher) . . (SEE ALSO) getfacl(1), chmod(1), umask(1), acl(5) May 2000 ACL File Utilities SETFACL(1)