If any of the following conditions occur, these functions shall return -1
and set
errno
to the corresponding value:
| [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]
|
| |
The ACL type passed is invalid for this file object.
|
| [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.
|
| [ENOTDIR]
|
| |
A component of the path prefix is not a directory.
Argument
path_p
must be a directory, and is not.
|
| [EOPNOTSUPP]
|
| |
The file system does not support ACL deletion.
|
| [EPERM]
|
| |
The process does not have appropriate privilege to perform the operation
to delete an ACL.
|
| [EROFS]
|
| |
The file system is read-only.
|