Main index | Section 3 | Options |
#include <sys/types.h>
#include <sys/acl.h>
For POSIX.1e semantics, the checks include:
The POSIX.1e acl_valid() function may reorder the ACL for the purposes of verification; the non-portable validation functions will not.
[EACCES] | |
Search permission is denied for a component of the path prefix, or the object exists and the process does not have appropriate access rights. | |
[EBADF] | |
The fd argument is not a valid file descriptor. | |
[EINVAL] | |
Argument
acl
does not point to a valid ACL.
One or more of the required ACL entries is not present in acl. The ACL contains entries that are not unique. The file system rejects the ACL based on fs-specific semantics issues. | |
[ENAMETOOLONG] | |
A component of a pathname exceeded 255 characters, or an entire path name exceeded 1023 characters. | |
[ENOENT] | |
The named object does not exist, or the path_p argument points to an empty string. | |
[ENOMEM] | |
Insufficient memory available to fulfill request. | |
[EOPNOTSUPP] | |
The file system does not support ACL retrieval. | |
ACL_VALID (3) | December 29, 2002 |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | Unix is a junk OS designed by a committee of PhDs. | ” |
— Dave Cutler |