chacl.1 (2010 09)

c
chacl(1) chacl(1)
chacl -r ’(@.%,rw-)’ - test
Delete from file myfile the specific access rights, if any, for user 165 in group 13. Note that this is
different from adding an ACL
entry that restricts access for that user and group. The user’s resulting
access rights depend on the entries remaining in the ACL. The command also deletes all entries for user
jpc that have a read bit turned on (the asterisk can be used as a wildcard in the ACL pattern for user,
group, or access mode):
chacl -d ’165.13, jpc.*+r’ myfile
Copy the ACL from oldfile to slow/hare and
fast/tortoise.
chacl -f oldfile slow/hare fast/tortoise
Delete the optional ACL entries, if any, on the file open as standard input.
chacl -z -
Deny all access to all files in the current directory whose names start with
a, b,orc:
chacl -Z [a-c]*
Incorporate the optional ACL entries of a file (
fun.stuff) into the base ACL entries:
chacl -F fun.stuff
WARNINGS
An ACL string cannot contain more than 16 unique entries, even though converting @ symbols to user or
group names and combining redundant entries might result in fewer than 16 entries for some files.
DEPENDENCIES
chacl will fail when the target file resides on a file system which does not support ACLs.
NFS
Only the -F option is supported on remote files.
AUTHOR
chacl was developed by HP.
SEE ALSO
chmod(1), getaccess(1), lsacl(1), getacl(2), setacl(2), acl(5), glossary(9).
HP-UX 11i Version 3: September 2010 3 Hewlett-Packard Company 3