HP-UX Reference (11i v1 00/12) - 2 System Calls (vol 5)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man2/!!!intro.2
________________________________________________________________
___ ___
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 Release 11i: December 2000 3 Section 2307
___
___