Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linux File access for Different Groups 1

Status
Not open for further replies.

baden

Programmer
Feb 6, 2002
125
US
Is there a way to specify which groups can access/read/write/etc. a specific file - not my group and all others.

Ie: I'm a member of group 1. I want members of group 3 and 6 to be able to access the file, but no others.

How is this accomplished?
 
Not really. You'd need to make a group with the members of 3 and 6 in it.
 
This same problem was a bit of a hassle when we first switched over to Linux. We were very used to the traditional Windows way of assigning permissions.

We basically overcame the problem by creating role based groups; ie. accounts group, management group, engineering group, etc. and assigning user accounts to the groups depending on their role in the company. With this said, you will also need to put in some thought as to the structure of the folders in your file server and change it if required. You would want to consider a wide-short trees instead of narrow-tall ones.


--== Anything can go wrong. It's just a matter of how far wrong it will go till people think its right. ==--
 
There are a couple of extended ACL projects for linux. trustees.sourceforge.net comes to mind. Google for "linux acl" and you'll find several suggestions.
 
How I wished we had ACL's some 3 years ago when we migrated our NT4 fileservers over to RH7.2, it was a real trial-and-error nightmare for the first 2 months of the migration. Will be looking forward to next years IT budget to change out our old fileservers and load up FC3. Good Link.


--== Anything can go wrong. It's just a matter of how far wrong it will go till people think its right. ==--
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top