ACL_DELETE_PERM(3) BSD Library Functions Manual ACL_DELETE_PERM(3)
NAME
acl_delete_perm — delete a permission from an ACL permission set
LIBRARY
Linux Access Control Lists library (libacl, −lacl).
SYNOPSIS
#include <sys/types.h>
#include <sys/acl.h>
int
acl_delete_perm(acl_permset_t permset_d, acl_perm_t perm);
DESCRIPTION
The acl_delete_perm() function deletes the permission contained in the argument perm from the permission set referred to by the argument permset_d. An attempt to delete a permission that is not contained in the permission set is not considered an error.
Any existing descriptors that refer to permset_d continue to refer to that permission set.
RETURN VALUE
The acl_delete_perm() function returns the value 0 if successful; otherwise the value −1 is returned and the global variable errno is set to indicate the error.
ERRORS
If any of the following conditions occur, the acl_delete_perm() function returns -1 and sets errno to the corresponding value:
[EINVAL]
The argument permset_d is not a valid descriptor for a permission set within an ACL entry.
The argument perm does not contain a valid acl_perm_t value.
STANDARDS
IEEE Std 1003.1e draft 17 (“POSIX.1e”, abandoned)
SEE ALSO
acl_add_perm(3), acl_clear_perms(3), acl_get_perm(3), acl_get_permset(3), acl_set_permset(3), acl(5)
AUTHOR
Derived from the FreeBSD manual pages written by Robert N M Watson ⟨ rwatson@FreeBSD.org⟩ , and adapted for Linux by Andreas Gruenbacher ⟨ a.gruenbacher@bestbits.at⟩ .
Linux ACL March 23, 2002 Linux ACL
More Linux Commands
manpages/XGetClassHint.3.html
XGetClassHint(3) - allocate class hints structure and set or
The XAllocClassHint function allocates and returns a pointer to a XClassHint structure. Note that the pointer fields in the XClassHint structure are initially s
manpages/pam_get_authtok_noverify.3.html
pam_get_authtok_noverify(3) - get authentication token......
The pam_get_authtok function returns the cached authentication token, or prompts the user if no token is currently cached. It is intended for internal use by Li
manpages/glMultMatrixf.3gl.html
glMultMatrixf(3gl) - multiply the current matrix with the sp
glMultMatrix multiplies the current matrix with the one specified using m, and replaces the current matrix with the product. The current matrix is determined by
manpages/gnutls_x509_crt_list_import2.3.html
gnutls_x509_crt_list_import2(3) - API function (Man Page)...
gnutls_x509_crt_list_import2.3 - This function will convert the given PEM encoded certificate list to the native gnutls_x509_crt_t format. The output will be st
manpages/_tracedump.3ncurses.html
_tracedump(3ncurses) - curses debugging routines (Man Page)
The trace routines are used for debugging the ncurses libraries, as well as applications which use the ncurses libraries. These functions are normally available
manpages/zypp-CheckAccessDeleted.1.html
zypp-CheckAccessDeleted(1) List processes which access delet
List running processes which access deleted files. This may help to identify services and processes which need to be restarted after an update, e.g. if they sti
manpages/move_pages.2.html
move_pages(2) - move individual pages of a process to anothe
move_pages() moves the specified pages of the process pid to the memory nodes specified by nodes. The result of the move is reflected in status. The flags indic
manpages/XInternAtom.3.html
XInternAtom(3) - create or return atom names (Man Page).....
The XInternAtom function returns the atom identifier associated with the specified atom_name string. If only_if_exists is False, the atom is created if it does
manpages/gnutls_certificate_set_x509_simple_pkcs12_mem.3.html
gnutls_certificate_set_x509_simple_pkcs12_mem.3.............
gnutls_certificate_set_x509_simple_pkcs12_mem.3 - This function sets a certificate/private key pair and/or a CRL in the gnutls_certificate_credentials_t structu
manpages/glDisable.3gl.html
glDisable(3gl) - enable or disable server-side GL capabiliti
glEnable and glDisable enable and disable various capabilities. Use glIsEnabled or glGet to determine the current setting of any capability. The initial value f
manpages/DBM_Filter::encode.3pm.html
DBM_Filter::encode(3pm) - filter for DBM_Filter (Man Page)
This DBM filter allows you to choose the character encoding will be store in the DBM file. The usage is $db->Filter_Push(encode => ENCODING); where ENCODING mus
manpages/register_prenetsnmp_mib_handler.3.html
register_prenetsnmp_mib_handler(3) - netsnmp_config_api func
The functions are a fairly extensible system of parsing various configuration files at the run time of an application. The configuration file flow is broken int
