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 06-02-2005, 08:06 PM   #1
TGWDNGHN
Member
 
Registered: Aug 2003
Distribution: Slackware 10.0
Posts: 94
Blog Entries: 1

Rep: Reputation: 15
Question File Modes and Permissions: Exceptions?


Is there any way to make "exceptions" for certain "exclusive" people or groups when specifying File Modes?

For example. Suppose Tim owns a file with permissions 700. Obviously he does not want anyone else to have any permissions other than himself. BUT Tim DOES want users billy and bob to be able to access those files along with the two groups buddies and friends.



The only thing I can think of is making new groups for only those "exclusive" people (or making them join the group with the same name as your user name). I suppose this would be fine except when you have a system with alot of users and groups that perhaps has reached the limit (of allowable users and groups).


Is there anyway to make these "exceptions" for file modes?


Thanks, I would REALLY appreciate it!

Last edited by TGWDNGHN; 06-02-2005 at 08:09 PM.
 
Old 06-02-2005, 08:40 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Assuming your filesystem supports access control lists, you can set up those permissions without creating extra groups. read the man pages for setfacl and getfacl for more info on ACLs.
 
  


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
file permissions OK, but command permissions? stabu Linux - General 2 10-05-2005 01:00 PM
fb.modes config file brett90 Slackware 2 06-02-2005 07:47 AM
journaling modes in ext3 file system lucky123 Linux - Newbie 2 04-15-2005 12:03 AM
locking a usage policy file/ftp file permissions gbow Linux - Newbie 0 02-16-2004 06:35 AM
file modes list i.e. what is a sticky bit? Glover Linux - Newbie 2 07-04-2002 07:41 AM


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