ACL_DELETE_PERM(3) BSD Library Functions Manual ACL_DELETE_PERM(3)


acl_delete_perm — delete a permission from an ACL permission set


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


#include <sys/types.h>
#include <sys/acl.h>


acl_delete_perm(acl_permset_t permset_d, acl_perm_t perm);


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.


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.


If any of the following conditions occur, the acl_delete_perm() function returns -1 and sets errno to the corresponding value:


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.


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


acl_add_perm(3), acl_clear_perms(3), acl_get_perm(3), acl_get_permset(3), acl_set_permset(3), acl(5)


Derived from the FreeBSD manual pages written by Robert N M Watson ⟨⟩ , and adapted for Linux by Andreas Gruenbacher ⟨⟩ .

Linux ACL March 23, 2002 Linux ACL

More Linux Commands

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

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

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

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

_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

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

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

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

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

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

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-&gt;Filter_Push(encode =&gt; ENCODING); where ENCODING mus

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

We can't live, work or learn in freedom unless the software we use is free.