Hlavní navigace

acl_add_perm

NAME

LIBRARY

Linux Access Control Lists library (libacl, -lacl).

SYNOPSIS

n sys/types.h n sys/acl.h

DESCRIPTION

The function adds the permission contained in the argument to the permission set referred to by the argument An attempt to add a permission that is already contained in the permission set is not considered an error.
Any existing descriptors that refer to continue to refer to that permission set.

RETURN VALUE

ERRORS

If any of the following conditions occur, the function returns and sets to the corresponding value:
  • EINVAL The argument is not a valid descriptor for a permission set within an ACL entry.
The argument does not contain a valid value.

STANDARDS

IEEE Std 1003.1e draft 17 (POSIX.1e, abandoned)

SEE ALSO

AUTHOR

Derived from the FreeBSD manual pages written by and adapted for Linux by