LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 09: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, 10:20 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
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, 10:26 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:41 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
Open Source Consulting | Domain Registration