Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)

setacl(1) OSS Shell and Utilities Reference Manual
d[efault]:u[ser]:uid:operm|perm
d[efault]:g[roup]::operm|perm
d[efault]:g[roup]:gid:operm|perm
d[efault]:c[lass]::operm|perm
d[efault]:o[ther]::operm|perm
For the -d ag, acl_entries are one or more comma-separated ACL entries, without permissions,
selected from the following list. You cannot delete the entries for le owner (user), owning
group (group), class,orother.
u[ser]:uid
g[roup]:gid
d[efault]:u[ser]:
d[efault]:u[ser]:uid
d[efault]:g[roup]:
d[efault]:g[roup]:gid
d[efault]:c[lass]:
d[efault]:o[ther]:
In the preceding lists:
perm A permissions string composed of the characters r (read), w (write), and x (exe-
cute), each of which can appear at most one time, in any order. You can specify
the character - (dash) as a placeholder.
operm The octal representation of the preceding permissions, with 7 representing all
permissions, or rwx, and 0 representing no permissions, or ---.
uid A login name or user ID.
gid A group name or group ID.
The ags have the following meanings:
-n Species not to recalculate the group class entry. Normally, setacl recalculates
the group class entry to ensure that permissions granted in the additional ACL
entries are actually granted, and the value specied in the class entry is ignored.
If you specify the -n ag, the recalculation is not performed, and the value
specied in the class entry is used. The setacl command never recalculates the
default:class entry.
-s Replaces the ACL for the specied le with the ACL specied in this command.
All old ACLs are removed. You must specify exactly one user entry for the
owner of the le, one group entry for the owning group of the le, and one other
entry. If you specify the -n ag, you must specify exactly one class entry in
addition to the entries for the owner, owning group, and other. You can specify
additional user and group entries, but these entries cannot contain duplicate
user entries with the same user ID or duplicate group entries with the same
group ID.
If the le is a directory, you can specify default ACL entries. You can specify at
most one default:user entry for the owner of the le, at most one default:group
entry for the owning group of the le, at most one default:class entry for the le
group class, and at most one default:other entry for other users. You can specify
additional default:user entries and additional default:group entries, but these
entries cannot include duplicate default:user entries with the same user ID or
default:group entries with the same group ID.
812 Hewlett-Packard Company 527188-007