LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices



Reply
 
Search this Thread
Old 10-11-2007, 05:06 PM   #1
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Rep: Reputation: 30
file group permissions


Hi i would like to give multiple groups as owner of a file is it possible in linux?. You must be wondering why am doing so lol there ~160 users in 3 different groups and these 3 groups should have access to one file and others should not have access to this file, now making a new group n merge those 3 groups in one seems to be overhead for me (im lazy u may say that lol), so im trying for a shortcut way hehe. Your Help is appreciated
 
Old 10-11-2007, 07:42 PM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Quote:
Hi i would like to give multiple groups as owner of a file is it possible in linux?
No.

You have groups red, orange, yellow, green, blue, purple.
You want to grant access to red green and blue and deny the others.

The usual approach is to create a meta group, primary, and have the members of red green and blue also be members of primary.

The alternative would be to use access control lists.
http://www.linux-mag.com/id/1451/

But there is no lazy way forward.
 
Old 10-12-2007, 08:03 AM   #3
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Original Poster
Rep: Reputation: 30
lol thank you very much
 
Old 10-12-2007, 07:54 PM   #4
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
ACL looks like the solution for you - it was designed for large systems and it is very scaleable. Once set up, it becomes very lazy indeed.
 
Old 10-17-2007, 09:38 AM   #5
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Original Poster
Rep: Reputation: 30
yea i got the solution with ACLs thank you very much
 
  


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
ID created with assigned group is not display in /etc/group file dwarf007 Linux - Security 2 08-21-2007 11:39 PM
group and file rw permissions Cichlid Linux - Newbie 3 08-12-2007 08:54 PM
www-data group not appearing in file permissions tab nick1 Ubuntu 1 05-01-2006 12:48 PM
Group File Permissions Devilin Linux - General 2 10-22-2005 08:06 PM
File/group permissions and sharing kscott121 Linux - Software 3 10-15-2005 11:39 AM


All times are GMT -5. The time now is 12:50 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