12-16-2008
How to remove setfacl entires for a file
I gave the permission for a user using
Setfacl as folllows
setfacl -m u:user:rwx,m:rwx /home/master
To a home path of a master user
When i try to remove the same it showing as
$ setfacl -r s /home/master
usage:
setfacl [-r] -f aclfile file ...
setfacl [-r] -d acl_entries file ...
setfacl [-r] -m acl_entries file ...
setfacl [-r] -s acl_entries file ...
Gave me exact command to remove the acl entries for the /home/master folder when i am using getfacl
please...
Last edited by GIC1986; 12-16-2008 at 07:54 AM..
8 More Discussions You Might Find Interesting
1. Cybersecurity
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
2. UNIX for Advanced & Expert Users
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
3. Solaris
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
4. Solaris
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
5. Solaris
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
6. UNIX for Dummies Questions & Answers
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
7. Shell Programming and Scripting
Hi all
This time my input conatin 3 columns:
ERCC1 (PA155) Platinum compounds (PA164713176) Allele A is not associated with response to Platinum compounds in women with Ovarian Neoplasms as compared to allele C .
CES1 (PA107) methylphenidate (PA450464) Genotype CT is not... (4 Replies)
Discussion started by: Priyanka Chopra
4 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I have an input file :
entries6091958 LEAN assumption 11 112 0.999974 - . ID=hi_LEAN_10000003;
entries6091958 LEAN prediction 11 112 0.999974 - . ID=hi_LEAN_10000003;
entries6091958 LEAN CFD ... (5 Replies)
Discussion started by: sasdf
5 Replies