HP-UX Reference (11i v1 05/09) - 2 System Calls (vol 5)
s
setacl(2) setacl(2)
acl [1] . uid = 103;
acl [1] . gid = 204;
acl [1] . mode = R_OK;
if (setacl (filename, 2, acl))
error (...);
The following call deletes all optional ACL entries from
file1:
setacl ("file1", ACL_DELOPT, (struct acl_entry *) 0);
DEPENDENCIES
NFS
setacl() and fsetacl() are not supported on remote files.
HFS
ACLs are only supported on HFS file systems.
AUTHOR
setacl() and fsetacl() were developed by HP.
SEE ALSO
access(2), chmod(2), getaccess(2), getacl(2), stat(2), acl(5), unistd(5).
HP-UX 11i Version 1: September 2005 − 3 − Hewlett-Packard Company Section 2−−329