Administrator's Guide

not recalculated because -n was specified. If -n was not used, class would have been
reset to class:rwx, and the effective comment would not be there.
5.5 Comparison of JFS and HFS ACLs
JFS ACLs adhere to the POSIX ACL standard.
JFS ACLs differ from HFS ACLs in both format (internal and external) and functionality.
Functional differences between JFS and HFS ACLs include the following:
A JFS directory's ACL can have default entries, which are applied to files subsequently
created in that directory. HFS ACLs do not have this capability.
An HFS ACL has an owner that can be different from the owner of the file the ACL
controls. JFS ACLs are owned by the owner of the corresponding file.
An HFS ACL can have different entries for a particular user in specific groups. For
example, userx might have read and write access as a member of group users,
but have only read access as a member of group other.
5.5.1 JFS and HFS Command and Function Mapping
Table 5-5 lists the manpages for the equivalent commands and functions for JFS ACLs
and HFS ACLs.
Table 5-5 HFS and JFS ACL Equivalents
JFS EquivalentHFS Name
setacl(1)chacl(1)
getacl(1)lsacl(1)
acl(2)getacl(2)
—none—fgetacl(2)
acl(2)setacl(2)
—none—fsetacl(2)
—none—acltostr(3C)
—none—chownacl(3C)
—none—cpacl(3C)
—none—setaclentry(3C)
—none—strtoacl(3C)
aclsort(3C)—none—
aclv(5)acl(5)
102 File System Security