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

Notices


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

Rep: Reputation: 7
permission qustion.


hi,

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.

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

Rep: Reputation: 21
Hi,

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
hen770
Member
 
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.
Thanks.
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

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