The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Security
.
google unix.com



Security Discuss UNIX and Linux computer and network security, cybersecurity, cyberattacks, IT security, CISSP, OWASP and more.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Setfacl permission issue MeganP Shell Programming and Scripting 0 08-01-2007 05:15 PM
overriding the mask in setfacl aladdin UNIX for Dummies Questions & Answers 4 05-30-2007 03:11 AM
setfacl fredao UNIX for Advanced & Expert Users 3 03-21-2007 11:45 PM
setfacl -x doesn't shows it removed the ACL braindrain Shell Programming and Scripting 0 08-01-2006 05:09 AM
Monitor CPU usage and Memory Usage Gajanad Bihani High Level Programming 2 03-09-2005 07:35 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-31-2003
chakri400 chakri400 is offline
Registered User
  
 

Join Date: Oct 2003
Location: Bangalore, India
Posts: 5
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
# owner: prod
# group: admin
user::rwx
user:app01prod:rwx #effective:---
group::--- #effective:---
mask:---
other:---

and am not able to access this directory using prod user.

As you can see, the effective permissions are ---. Can you tell me what am I missing here?

Thanks in advance,
Sree

Last edited by Perderabo; 10-31-2003 at 11:01 AM..
  #2 (permalink)  
Old 10-31-2003
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
I find the prod vs app01prod in your post a bit confusing. I going to assume that was a typo and they both should be prod.

You forgot to set the mask.

setfacl -m u:prod:rwx,m:rwx test

And you got to turn off smilies with posts like these.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:18 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0