LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-08-2003, 10:50 AM   #1
lostboy
Member
 
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268

Rep: Reputation: 30
Talking Can a file belong to more than one group?


I was wondering if it were possible to be able to do this.

Example :

user = 'bob'
groups = 'trusted'(GID 110) and, 'users' (GID 111)

user = 'tom'
group = 'users' (GID 111)

bob will have r-w-x permission on file 'work' which belongs to GID 110 and 111, because he is a member of GID 110, which has r-w-x permission.

However, tom will only have r-x permission because he is only a member of the 'users' group, and this group only has r-x permisson.


Is it possible to have a file belong to more than one group?

JC
 
Old 11-08-2003, 11:09 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
I believe ACL will have this type of control over permissions.

Access Control Lists is what it stands for. Might do a quick search to learn more about it.
 
Old 11-08-2003, 11:14 AM   #3
lostboy
Member
 
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268

Original Poster
Rep: Reputation: 30
ACL eh ? Thanks. Now I know what to search for.

JC
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how can I find the file belong to what pkg? jiawj Slackware 9 03-07-2005 08:16 PM
File owner and File group locked - root deiphage Linux - Hardware 5 02-05-2005 01:30 PM
/etc/group File Query Obie Linux - General 1 07-21-2004 12:02 AM
Group Admin, Group Root, or God over Group crickett Linux - General 5 07-12-2004 04:01 PM
Question about the /etc/group file ludwig W Linux - General 8 05-06-2003 03:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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