Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

acl_clear_perm(3) [osf1 man page]

acl_clear_perm(3)					     Library Functions Manual						 acl_clear_perm(3)

NAME
acl_clear_perm - Clears a set of permissions in an ACL entry LIBRARY
Security Library (libpacl.a) SYNOPSIS
#include <sys/acl.h> int acl_clear_perm( acl_permset_t permset_d); PARAMETERS
Specifies the permission set of the working storage internal representation of an ACL entry. DESCRIPTION
NOTE: This function is based on Draft 13 of the POSIX P1003.6 standard. The acl_clear_perm() function clears the permissions from the permission set in permset_d. RETURN VALUES
Upon successful completion, the acl_clear_perm() function returns a value of 0 (zero). Otherwise a value of -1 is returned, and errno is set. ERRORS
If any of the following conditions occur, the acl_clear_perm() function sets errno to the corresponding value: permset_d does not refer to a valid permission set. RELATED INFORMATION
acl_add_perm(3), acl_delete_perm(3), acl_get_permset(3), acl_set_permset(3), acl_get_entry(3) Security delim off acl_clear_perm(3)

Check Out this Related Man Page

acl_set_permset(3)					     Library Functions Manual						acl_set_permset(3)

NAME
acl_set_permset - Sets permissions in a given ACL entry LIBRARY
Security Library (libpacl.a) SYNOPSIS
#include <sys/acl.h> int acl_set_permset( acl_entry_t entry_d; acl_permset_t permset_d); PARAMETERS
Specifies the descriptor of the working storage internal representation of an ACL entry. Points to a working storage internal representa- tion of file permission bits. DESCRIPTION
NOTE: This function is based on Draft 13 of the POSIX P1003.6 standard. Given a pointer to an ACL entry, the acl_set_permset() function sets the permissions. Any permissions in the ACL entry before the call to acl_set_permset() are replaced with the new set of permissions. RETURN VALUES
Upon successful completion, the acl_set_permset() function returns a value of 0 (zero). Otherwise, a value of -1 is returned, and errno is set to indicate the error. ERRORS
If the following conditions occur, the acl_set_permset() function sets errno to the corresponding value: The entry_d parameter does not refer to a valid ACL entry. The permset_d parameter does not contain valid file permission bits. RELATED INFORMATION
acl_add_perm(3), acl_get_permset(3), acl_get_entry(3), acl_delete_perm(3), acl_clear_perm(3) Security delim off acl_set_permset(3)
Man Page

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Kerbos Security

(1 Reply)
Discussion started by: premkumar
1 Replies

2. UNIX for Advanced & Expert Users

HPUX Security help

(1 Reply)
Discussion started by: andryk
1 Replies

3. What is on Your Mind?

Obtaining Security Clearance

(0 Replies)
Discussion started by: COSJM
0 Replies

4. AIX

rbw,rbr permissions

What is mean by rw,rbw,rbr permissions for the mount file system. How will we give the permission to the file systems in AIX. (1 Reply)
Discussion started by: pernasivam
1 Replies