setfacl -x doesn't shows it removed the ACL


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting setfacl -x doesn't shows it removed the ACL
# 1  
Old 08-01-2006
setfacl -x doesn't shows it removed the ACL

Hi,
My directory had ACL for user XYZ and I wanted to removethe ACL's X had.
So, I issued the command
after removing when i list the files, it still shows with (+) i.e it still contain ACL(??)

drwxr-xr-x+ 25 inuser USR 4.0K Jul 29 08:28 TgtFiles


also, the getfacl for the above dir, gives
# file: TgtFiles
# owner: inuser
# group: USR
user::rwx
group::r-x
mask::r-x
other::r-x

Though it removes the ACL , when I list the dir / file, it shows (+) .


Any reasons ?

thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

help needed with setfacl

Hi, On the setfacl, I am trying to make one user with no rwx privilleges. After reading the man page I still can't get it. Please let me know the correct command. set user - SAM to have NO rwx privilleges on NEW objects setfacl -dm user:sam:--- /opt set user - SAM to have NO... (2 Replies)
Discussion started by: samnyc
2 Replies

2. Solaris

setfacl on a directory

Hi All, I am trying to set an ACL for a directory on my Solaris 10 box. I have an application which resides under /opt/CA directory. Application is installed by root and running as root. All log and configuration files are placed under /opt/CA as well. What I am trying to do is granting... (1 Reply)
Discussion started by: niyazi
1 Replies

3. Solaris

Issue with setfacl

Hi Experts, I have set access control to a directory which is under / as /proj1 and set the access to user1 as below Once I logging as user1 I am able to create and modify the file which is created by user1 however I am unable to edit / modify the file which is own by root.... (14 Replies)
Discussion started by: kumarmani
14 Replies

4. Solaris

Please help --setfacl: illegal option -- R

when i am executing setfacl -Rm u:ggoyal2:rwx,m:rwx dir i am getting error bash-3.00# setfacl -Rm u:ggoyal2:rwx,m:rwx dir setfacl: illegal option -- R usage: setfacl -f aclfile file ... setfacl -d acl_entries file ... setfacl -m acl_entries file ... setfacl -s acl_entries file... (2 Replies)
Discussion started by: manoj_dahiya22
2 Replies

5. Solaris

How to use setfacl

Hi all, If, for e.g. I have folder with permissions like this: drwxr-xr-x 2 fuad_ftp nms 96 Jan 8 13:55 test I want to give for user user123 acces rwx using setfacl: setfacl -m user:user123:rwx test But effective rights still is r-x because of mask... ... (1 Reply)
Discussion started by: nypreH
1 Replies

6. Shell Programming and Scripting

Setfacl permission issue

My Admin has written a shell script (Filepermission.ksh) with the following commands and provided me 'exeutive' privileges. However, when I try to run the script, I am getting the following error message. Can some one tell me what could be missing? Thank you for your continued support. Script: ... (0 Replies)
Discussion started by: MeganP
0 Replies

7. UNIX for Dummies Questions & Answers

overriding the mask in setfacl

hello everbody: Im trying to give the user "ydarwish" a full access over some directory on my sol9 machine. however the setfacl is recalculating the mask parameter keeping me from keeping him effective write and read access: root@Obi-Wan> setfacl -m u:ydarwish:rwx /IN_ARCHIVE6 root@Obi-Wan>... (4 Replies)
Discussion started by: aladdin
4 Replies

8. UNIX for Advanced & Expert Users

setfacl

I use: setfacl -m user:bbb:rwx folder1 to give user bbb the permission to go into my folder folder1, and cd folder1 setfacl -m user:bbb:rwx * to give bbb the permission under this folder. however, bbb can not cd to folder1, and got "permission denied" messages. the umask is... (3 Replies)
Discussion started by: fredao
3 Replies

9. Cybersecurity

Usage of setfacl

Hi, I have a directory with 700 permissions. I intend to give rwx privileges to a user which does not belong to the group. I am using the following command setfacl -m u:prod:rwx test when I checked the privileges using getfacl -a test the output was as follows: # file: test #... (1 Reply)
Discussion started by: chakri400
1 Replies
Login or Register to Ask a Question
acl_create_entry(3)					     Library Functions Manual					       acl_create_entry(3)

NAME
acl_create_entry - Create a new ACL entry LIBRARY
Security Library (libpacl.a) SYNOPSIS
#include <sys/acl.h> acl_entry_t acl_create_entry( acl_t *acl_p); PARAMETERS
Points to the working storage internal representation ACL to create the new entry in. DESCRIPTION
NOTE: This function is based on Draft 13 of the POSIX P1003.6 standard. The acl_create_entry() function creates a new ACL entry in the ACL pointed to by the acl_p argument. If there is insufficient space in the ACL for creating a new entry, then additional memory is allocated. The components of the new ACL entry are initialized as follows: The ACL tag type component does not contain a possible ACL tag type The tag qualifier component does not refer to any possible user ID or group ID The set of permissions does not have any permissions specified. RETURN VALUES
Upon successful completion, the acl_create_entry() function returns the descriptor for the new entry. Otherwise, a value of NULL is returned, and errno is set to indicate the error. ERRORS
If any of the following conditions occur, the acl_create_entry() function sets errno to the corresponding value: The acl_p argument does not refer to a valid ACL. The new ACL entry requires more memory than the system is able to provide. RELATED INFORMATION
acl_delete_entry(3) Security delim off acl_create_entry(3)