*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> acl_delete_perm (3)              
Title
Content
Arch
Section
 

acl_delete_perm(3)

Contents


NAME    [Toc]    [Back]

       acl_delete_perm - Delete permissions from a set of permissions
 belonging to an ACL entry

SYNOPSIS    [Toc]    [Back]

       #include <sys/acl.h>

       int acl_delete_perm(
               acl_permset_t permset_d,
               acl_perm_t perm_d );

LIBRARY    [Toc]    [Back]

       Security Library (libpacl.a)

PARAMETERS    [Toc]    [Back]

       Specifies the permission set of the working storage internal
  representation ACL entry.  Specifies the file permissions
  to  be  deleted  (a  combination  of   ACL_EXECUTE,
       ACL_READ, and ACL_WRITE).

DESCRIPTION    [Toc]    [Back]

       NOTE:   This  function  is  based on Draft 13 of the POSIX
       P1003.6 standard.

       The acl_delete_perm() function deletes the specified  permission
  in  perm_d from the permission set. This function
       does not return an error if the permission  set  does  not
       have any of the specified permissions turned on.

RETURN VALUES    [Toc]    [Back]

       Upon successful completion, the acl_delete_perm() function
       returns a value of 0 (zero).  Otherwise, a value of -1  is
       returned, and errno is set to indicate the error.

ERRORS    [Toc]    [Back]

       If  the  following condition occurs, the acl_delete_perm()
       function  sets  errno  to  the  corresponding  value:  The
       permset_d  parameter  does not refer to a valid permission
       set.

              The perm_d parameter does not  contain  valid  file
              permission bits.

SEE ALSO    [Toc]    [Back]

      
      
       acl_add_perm(3),   acl_clear_perm(3),  acl_get_permset(3),
       acl_set_permset(3), acl_get_entry(3)

       Security



                                               acl_delete_perm(3)
[ Back ]
 Similar pages
Name OS Title
acl_add_perm Tru64 Adds a permission to a set of permissions belonging to an ACL entry
permissions IRIX Change Permissions - Modify Permissions and Ownership of Files
acl_delete_perm FreeBSD delete permissions from a permission set
acl_set_permset FreeBSD set the permissions of an ACL entry
acl_set_permset Tru64 Sets permissions in a given ACL entry
acl_clear_perm Tru64 Clears a set of permissions in an ACL entry
acl_get_permset Tru64 Retrieves a pointer to the permissions for a given ACL entry
acl_add_perm FreeBSD add permissions to a permission set
acl_clear_perms FreeBSD clear permissions from a permission set
acl_calc_mask FreeBSD calculate and set ACL mask permissions
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service