Open System Services System Calls Reference Manual (G06.28+, H06.05+)

System Functions (a - d) acl(2)
ERRORS
If any of these conditions occurs, the acl() function sets errno to the corresponding value:
[EACCES] The caller does not have access to a component of the pathname.
[EINVAL] One of these conditions occurred:
The value of the cmd parameter is not ACL_GET, ACL_SET,or
ACL_CNT.
The value of the cmd parameter is ACL_SET, and the value of the nen-
tries parameter is less than the number of mandatory ACL entries.
The value of the cmd parameter is ACL_SET, and the ACL specied in
the aclbufp parameter is not valid.
[EIO] A disk I/O error occurred while attempting to store or retrieve the ACL
[EPERM] The value of the cmd parameter is ACL_SET, and the effective user ID of the
caller does not match the owner of the le or the super ID, and the effective user
ID or one of its group afliations does not qualify the caller for membership in
the Safeguard SECURITY-OSS-ADMINISTRATOR group.
[ENOENT] A component of the path does not exist.
[ENOSPC] One of these conditions occurred:
The value of the cmd parameter is ACL_GET, and the value of the nen-
tries parameter is less than the number of entries in the ACL for the le.
The value of the cmd parameter is ACL_SET, and there is not enough
disk space to store the ACL.
The value of the cmd parameter is ACL_SET, and nentries is greater
than the number of NACLENTRIES speced in the acl.h header le.
[ENOSYS] This system does not support OSS ACLs.
[ENOTDIR] Either of these conditions is true:
A component of the path specied by pathp is not a directory.
The value of the cmd parameter is ACL_SET, and an attempt was made
to set a default ACL on a le type other than a directory.
[ENOTSUP] The le specied by pathp either resides in a leset that does not support OSS
ACLs, or is a le type that does not support OSS ACLs (such as Guardian les
accessed from the //G directory).
[EROFS] The value of the cmd parameter is ACL_SET, and the le specied by pathp
resides in a leset that is mounted as read-only.
[EFAULT] The aclbufp parameter points to an invalid address.
527186-007 Hewlett-Packard Company 111