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 > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

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
Usage of setfacl chakri400 Security 1 10-31-2003 11:04 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 01-08-2009
nypreH nypreH is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 6
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...

nypreH@bauas1o> setfacl -m user:user123:rwx test
nypreH@bauas1o>
nypreH@bauas1o>
nypreH@bauas1o>
nypreH@bauas1o> getfacl test
# file: test
# owner: fuad_ftp
# group: nms
user::rwx
user:user123:rwx #effective:r-x
group::r-x #effective:r-x
mask:r-x
other:r-x
nypreH@bauas1o>


So, how can I ignor mask filtering for this user? there is some option -n, but I don't know how to use it.

Thanks in advance,
Best Regards,
Roman
  #2 (permalink)  
Old 01-08-2009
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,382
You need to add the "-r" option to the setfacl command for the mask to be recalculated.
Sponsored Links
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 03: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