Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

acl_delete_perm(3) [osf1 man page]

acl_delete_perm(3)					     Library Functions Manual						acl_delete_perm(3)

NAME
acl_delete_perm - Delete permissions from a set of permissions belonging to an ACL entry LIBRARY
Security Library (libpacl.a) SYNOPSIS
#include <sys/acl.h> int acl_delete_perm( acl_permset_t permset_d, acl_perm_t perm_d); PARAMETERS
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
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
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
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. RELATED INFORMATION
acl_add_perm(3), acl_clear_perm(3),acl_get_permset(3), acl_set_permset(3), acl_get_entry(3) Security delim off acl_delete_perm(3)

Check Out this Related 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)
Man Page

14 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

changing file permissions

Use the following to Change permission of fileB (fileB could be fileB*) to change its permission same as the permission of fileA. chmod `ls -l fileA | awk '{pr int "u+", substr($1,2,1), substr($1,3,1), substr($1,4,1), ",g+", substr($1,5,1), substr($1,6,1), substr($1,7,1), ",o+",... (0 Replies)
Discussion started by: gagansharma
0 Replies

2. UNIX for Dummies Questions & Answers

permissions

with permission set to d-wx--x--x directoryname Why can't I do a long-listing on this directory? Is read access necessary? (1 Reply)
Discussion started by: mma_buc_98
1 Replies

3. UNIX for Advanced & Expert Users

Timestamp of File permission change

Hi!! Experts, Is there any way to find the timestamp when the permission of a file was modified?? I mean no change to file contents.. Just the chnage of permissions. :) (1 Reply)
Discussion started by: jyotipg
1 Replies

4. Shell Programming and Scripting

without execute permission

how can a script run without execute permissions. when i run myscript as : sh a.sh it was working but when i say simple a.sh its not working since it has no x permission.but how about fist case? (1 Reply)
Discussion started by: Raom
1 Replies

5. UNIX for Dummies Questions & Answers

file permissions: l

Hello, what does the l file permission stands for and in which UNIX systems can it be used? (1 Reply)
Discussion started by: Tobe
1 Replies

6. UNIX for Dummies Questions & Answers

checking permissions security

Can you help me to find a way to check that the level of the permissions givven to Others is not higher then the permission given to Group that is not higer from Owner permissions ? (3 Replies)
Discussion started by: ynixon
3 Replies

7. UNIX for Dummies Questions & Answers

Setting permissions

I've been told I need to set the permissions for everything in the htdocs folder to 777, but how do I go about doing this? Thanks:o (9 Replies)
Discussion started by: thehaapyappy
9 Replies

8. 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

9. UNIX for Dummies Questions & Answers

unix permission

what is the textual representation of 3733 -rwx-wS-wt ==> is this ok..? Thanks for your help (1 Reply)
Discussion started by: Ujan
1 Replies

10. UNIX for Advanced & Expert Users

Access file permission settings from Windows

Looking to see if there is a tool/crawler that could export the file permissions to a windows for a unix system ? (3 Replies)
Discussion started by: matvrix
3 Replies

11. UNIX for Dummies Questions & Answers

ls to show numeric permission bit ...

Hi all, Is there an option in ls that will show the permission bit in numbers instead of the permissions? The ls output below are very useful I guess, but I want to know if it is possible to run ls where it just shows 600 I guess which is the numeric equivalent of the permission bit of the... (5 Replies)
Discussion started by: newbie_01
5 Replies

12. UNIX for Dummies Questions & Answers

permission question

Hi, On the Redhat ES, when I do ls -l I see dot (.) after the permission. I never saw on other UNIX systems. Is that some thing new RH 6? -rw-r--r--. <---- this dot, I am referring to -rw-r--r--. 1 root root 18 May 20 2009 .bash_logout -rw-r--r--. 1 root root 176 May 20 ... (1 Reply)
Discussion started by: samnyc
1 Replies

13. UNIX for Dummies Questions & Answers

How to set default permission

Hey Guys, First post here. I just started learning UNIX a few weeks ago. My issue: I use FreeNAS which is based off of UNIX in my network environment which hosts files that my team needs to access. Each user has their own login but we are all part of a group called "ITLIC". I have a share... (15 Replies)
Discussion started by: uglycustoomer
15 Replies

14. UNIX for Beginners Questions & Answers

Help with permissions

i am trying to write a simple script to move files from one folder to another and when i try to run the script i get permission errors. I am still new to all of this and permissions still confuse me. Can anyone shed some light? I have attached screenshots of my script in the middle. (which i... (3 Replies)
Discussion started by: kcrist84
3 Replies