| ACL_DELETE(3) | Library Functions Manual | ACL_DELETE(3) |
acl_delete_def_file,
acl_delete_def_link_np,
acl_delete_fd_np,
acl_delete_file_np,
acl_delete_link_np —
#include <sys/types.h>
#include <sys/acl.h>
int
acl_delete_def_file(const
char *path_p);
int
acl_delete_def_link_np(const
char *path_p);
int
acl_delete_fd_np(int
filedes, acl_type_t
type);
int
acl_delete_file_np(const
char *path_p, acl_type_t
type);
int
acl_delete_link_np(const
char *path_p, acl_type_t
type);
acl_delete_def_file(),
acl_delete_def_link_np(),
acl_delete_fd_np(),
acl_delete_file_np(), and
acl_delete_link_np() each allow the deletion of an ACL
from a file. The acl_delete_def_file() function is a
POSIX.1e call that deletes the default ACL from a file (normally a directory)
by name; the remainder of the calls are non-portable extensions that permit
the deletion of arbitrary ACL types from a file/directory either by path name
or file descriptor. The _file() variations follow a
symlink if it occurs in the last segment of the path name; the
_link() variations operate on the symlink itself.
EACCES]EBADF]EINVAL]ENAMETOOLONG]ENOENT]ENOMEM]ENOTDIR]Argument path_p must be a directory, and is not.
EOPNOTSUPP]EPERM]EROFS]| December 29, 2002 | NetBSD 10.0 |