LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 01-27-2009, 09:17 PM   #1
JayQ7
LQ Newbie
 
Registered: Oct 2008
Posts: 3

Rep: Reputation: 0
Directories needing multiple access & permissions


Hey there.

I have a directory I need to make accessable to 2 different groups (arc, and tab). The group Arc can have full access to everything inside, but the Tab group can only read. I'm not quite sure on how about to do this? Should I make a group that the users in the groups Arc and Tab can be a part of, make them the 'users' of the directory? But if i did that, i would be unsure about how to separate the users from those groups to only be able to read or have full access...

As you can see, I'm running around in circles in my head and some clarity or help would sure be lovely!

thanks a lot!
 
Old 01-27-2009, 10:45 PM   #2
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Maybe you could make Ark the group who owns the directory and set only read permission for others;
Code:
chmod g+rwx,o+r /path/to/dir
 
Old 01-27-2009, 11:30 PM   #3
JayQ7
LQ Newbie
 
Registered: Oct 2008
Posts: 3

Original Poster
Rep: Reputation: 0
thanks for the input!

i don't think i explained enough, but Tab should be able to read, but no other groups or users should be able to access the directory at all. I might just be too much of a noob, but doesn't what you proposed let any other user be able to read?
 
Old 01-28-2009, 09:50 AM   #4
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Maybe you'll find some help here.
Anyway,I think that this can be marked as a Linux bug,it needs some hacking I would say,but I'm not sure at the moment if there is an easy way to manage this with something that Linux have by default,besides that solution provided in my link.

Last edited by alan_ri; 01-28-2009 at 10:28 AM.
 
  


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
Change text in multiple files in multiple directories vivo2341 Linux - General 5 11-27-2006 09:16 PM
Searching multiple directories and sub directories for a file jeep99899 Linux - Newbie 2 10-13-2005 01:23 PM
set file permissions for 100 directories & its files cevjr Linux - Security 6 01-06-2005 11:23 AM
encrypted filesystem with apache needing access stoffell Linux - Security 1 10-14-2003 11:21 AM
n00b needing help with loading multiple progz using one ./command event chaz Linux - Newbie 2 04-29-2002 08:05 AM


All times are GMT -5. The time now is 10:28 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration