Contained WithinFind More DocumentationFeatured Support Resources | Descargar este libro en PDF (1911 KB)
acl_strip(3SEC)Name | Synopsis | Description | Return Values | Errors | Attributes | See Also Name
Synopsiscc [ flag… ] file… -lsec [ library… ] #include <sys/acl.h> int acl_strip(const char *path, uid_t uid, gid_t gid, mode_t mode); DescriptionThe acl_strip() function removes all ACLs from a file and replaces them with a trivial ACL based on the mode argument. After replacing the ACL, the owner and group of the file are set to the values specified by the uid and gid arguments. Return ValuesUpon successful completion, acl_strip() returns 0. Otherwise it returns –1 and sets errno to indicate the error. Errors
The acl_strip() function will fail if: AttributesSee attributes(5) for descriptions of the following attributes:
See AlsoSunOS 5.11 Last Revised 6 Oct 2005Name | Synopsis | Description | Return Values | Errors | Attributes | See Also |
||||||