Интерактивная система просмотра системных руководств (man-ов)
acl_set_permset (3)
>> acl_set_permset (3) ( FreeBSD man: Библиотечные вызовы ) acl_set_permset (3) ( Linux man: Библиотечные вызовы )
BSD mandoc
NAME
acl_set_permset
- set the permissions of an ACL entry
LIBRARY
Lb libc
SYNOPSIS
#include <sys/types.h>
#include <sys/acl.h>
int
acl_set_permset (acl_entry_t entry_d acl_permset_t permset_d);
DESCRIPTION
The
acl_set_permset ();
function
is a POSIX.1e call that sets the permissions of ACL entry
Fa entry_d
with the permissions contained in
Fa permset_d .
RETURN VALUES
Rv -std acl_set_permset
ERRORS
The
acl_set_permset ();
function fails if:
- Bq Er EINVAL
-
Argument
Fa entry_d
is not a valid descriptor for an ACL entry.
SEE ALSO
acl(3),
acl_add_perm3,
acl_clear_perms3,
acl_delete_perm3,
acl_get_permset3,
posix1e(3)
STANDARDS
POSIX.1e is described in IEEE POSIX.1e draft 17.
HISTORY
POSIX.1e support was introduced in
Fx 4.0 .
The
acl_set_permset ();
function was added in
Fx 5.0 .
AUTHORS
The
acl_set_permset ();
function was written by
An Chris D. Faulhaber Aq [email protected] .
Index
- NAME
-
- LIBRARY
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURN VALUES
-
- ERRORS
-
- SEE ALSO
-
- STANDARDS
-
- HISTORY
-
- AUTHORS
-