Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 04-29-2011, 10:40 AM   #1
Registered: Oct 2010
Distribution: Arch
Posts: 136

Rep: Reputation: 7
permission qustion.


i have some folders in my /opt directory, i have to give to my Audit group a permission to be able to read every folder inside my /opt directory.

i have inside my /opt an directories for each department (audit, developers and so on) and only a member of the developers group can get inside /opt/developers/, but how to assign the audit group permission to read every directory inside /opt.

i prefer to assign the permisstion on the /opt directory, and not on every directory inside /opt.

Old 04-29-2011, 10:52 AM   #2
Registered: Apr 2011
Location: Jakarta, Indonesia
Distribution: Fedora, CentOS
Posts: 122

Rep: Reputation: 21

you can use ACL to give the specific Audit group an rx access to the /opt recursively.

# setfacl -R -m g:audit:rx /opt

Last edited by sibe; 04-29-2011 at 10:55 AM.
Old 04-30-2011, 12:28 PM   #3
Registered: Oct 2010
Distribution: Arch
Posts: 136

Original Poster
Rep: Reputation: 7
can i do it without ACL ?
i prefer to do it with the setgid setuid.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
one qustion on webmin lolka Linux - Newbie 1 09-20-2008 08:28 PM
quik qustion mysticink Mandriva 5 09-23-2007 09:12 PM
newbie qustion mmoor Fedora 3 05-31-2006 06:04 AM
Chown Qustion. swamprat Linux - Software 3 02-17-2006 05:38 PM
firefox qustion bubagump17 Linux - Software 8 05-27-2005 07:47 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration