Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 04-21-2004, 01:00 AM   #1
LQ Newbie
Registered: Dec 2001
Posts: 13

Rep: Reputation: 0
Question Users, groups, permissions - specific task question

I would like to know how to do the following permissioning on Linux:

To begin with, I have three user groups:


I also have three directories:


Now I would like to do the following:

File permissions:
1) All users within these groups, no matter where they are have rwx access to any file that *they* create
2) All users within these groups, no matter where they are have read only access to any files that *they didnt* create

Folder permissions:
1) g1 has rw to /countries, but no further. If possible, I dont even want to give this group the ability to *see* england
2) g2 has rw to /countries and /countries/england, but no further. As with step 1), I dont even want g2 to be able to see any further directories (unless that directory is created by another user).
3) g3 has rw to all directories (/countries, /countries/england and /countries/england/london)

Does this make sense? Can someone give me a brief (if possible) walkthrough on how to achieve this or something similar?

Old 04-21-2004, 01:56 AM   #2
Registered: Jun 2003
Location: Chennai,India
Distribution: Almost all the flavours of linux
Posts: 39

Rep: Reputation: 15
this is a brainteaser
Old 04-21-2004, 09:05 PM   #3
LQ Newbie
Registered: Dec 2001
Posts: 13

Original Poster
Rep: Reputation: 0
Indeed, hence the posting
Any ideas on an answer...or at least a start of one?


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
creating groups, adding users, and setting permissions bowie101 Linux - Newbie 2 11-23-2005 12:42 PM
users/groups and permissions.... muman Linux - Newbie 2 09-21-2004 11:20 AM
users, groups, and permissions mcd Linux - Newbie 3 05-26-2004 09:06 PM
Quick users/groups question Nico Linux - General 2 12-09-2003 01:18 AM
Saving users, groups and permissions in Red Hat 9 ferrantepunto Linux - Software 2 12-03-2003 01:26 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:04 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration