Delete a permission from an ACL permissions set
#include <sys/acl.h> int acl_delete_perm( acl_permset_t permset_d, acl_perm_t perm );
- The permission set that you want to modify.
- The permission that you want to delete; one of the following:
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The acl_delete_perm() function deletes the given permission from an ACL permission set. Attempting to delete a permission that isn't in the set isn't considered to be an error.
0, or -1 if an error occurred ( errno is set).
- The permset_d argument isn't a valid descriptor for an ACL permission set, or perm isn't a valid permission value.
This function is based on the withdrawn POSIX draft P1003.1e.
Last modified: 2014-11-17