|ACL_FROM_MODE(3)||Library Functions Manual||ACL_FROM_MODE(3)|
create an ACL from file permission bits
acl_from_mode() function creates a minimal ACL that contains the three entries with tag types ACL_USER_OBJ, ACL_GROUP_OBJ, and ACL_OTHER, with permissions corresponding to the owner, group, and other permission bits of its argument mode.
(acl_t)NULLis returned, and errno is set appropriately.
acl_from_mode() function returns a value of
(acl_t)NULLand sets errno to the corresponding value:
- The ACL working storage requires more memory than is allowed by the hardware or system-imposed memory management constraints.
|March 23, 2002||Linux ACL|