LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-16-2006, 10:38 PM   #1
pridefc
Member
 
Registered: Nov 2005
Distribution: redhat, debian, ubuntu
Posts: 47

Rep: Reputation: 15
Linux Access List


In Linux, can you assign more than one group owner per directory or a file?
Say, you want to give privileged access to more than one group, or different access to different group.

Thanks in advance.
 
Old 01-16-2006, 11:20 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 164Reputation: 164
Only one group can be the direct owner of a directory, file, device, etc. However, the members of a group can be other groups. For example, on one of my boxes I have CD burners on /dev/hdc and /dev/hdd. The group owning them is cdrom. The members of cdrom are the group disk and 3 of my users.

Your permissions are fixed across the groups though. The rw permissions I have assigned to cdrom carry through to all members and can't be changed for a subset. Since there are three permission groups (user/owner, group, other/world) you may be able to achieve what you need with the 'user' or 'other' permissions.
 
Old 01-16-2006, 11:26 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
There are also such things as ACLs if you really need them, although the code is not usually installed by default. You can really fine tune with it, but conversely, it's fiddly.
 
  


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
white list for internet access SchoolITguy Linux - Software 2 05-24-2005 03:54 PM
How to access the list of quotes in the Phosphor screen saver? jimothy05 Slackware 1 01-21-2005 11:38 AM
can't access/delete/list files even as root... tenshi Linux - General 7 10-13-2004 05:29 AM
How to list Access Points? jeffman12 Linux - Wireless Networking 2 06-10-2004 12:55 AM
Squid Access list and ident with RH7.3 rdesai Linux - General 0 05-06-2003 07:52 AM


All times are GMT -5. The time now is 06:54 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration