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 03-18-2005, 02:44 AM   #1
soccertux
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Rep: Reputation: 0
Linux file permissions


Is this possible in linux? :

Users A, B and C are part of group W,
Users D, E and F are part of group X,
Users G, H and I are part of group Y

Folder K is created and the group W needs to have read access to this folder, group X needs to have read-write access and group Y is not allowed to read the folder.
When user E (or D or F) creates a subfolder L in folder K, the group W must be able to read this subfolder and all his files also.

How can you setup the correct permissions on folder K without using POSIX ACL's?
 
Old 03-18-2005, 06:21 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Is this a homework question? If it is, you'll learn more by working and solving the question on your own, which our rules states members here are not obligated to do your homework for you. If this isn't homework, my apologies, along with a, good luck/might want to rephrase your question so it doesn't look like a test question straight from a book or something like that.
 
Old 03-18-2005, 06:41 AM   #3
soccertux
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by trickykid
Is this a homework question? If it is, you'll learn more by working and solving the question on your own, which our rules states members here are not obligated to do your homework for you. If this isn't homework, my apologies, along with a, good luck/might want to rephrase your question so it doesn't look like a test question straight from a book or something like that.
No it's not a homework question. I am busy with setting up a file server and users must be able to connect using ssh and samba from windows without be able to view 'secret' data from other research groups. Data is spread over different servers, exported and mounted via NFS. That's the reason why I didn't wanted to use ACL's because if we don't log everything it gets a bit messy. Unfortunately I can't find a way to solve this without ACL's.

PS: I am not going to rephrase the question because it is looks like a test question from a book. It is what we want to implement but nobody could give us a clear answer if it's possible. I actually would very much want it to be a test question from a book because then we could read the answer in the back of the book ;-).
 
Old 03-18-2005, 01:51 PM   #4
soccertux
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Original Poster
Rep: Reputation: 0
the solution:

Create Group Z with groupmembers W+X
Create folder J with permissions read-only for members Z
set correct permissions

drwxr-x--- root:Z J
|_ drwxrwxr-x root:X K
|_ drwxr-xr-x E:X L
 
  


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
DISCUSSION: Quick and Dirty Guide to Linux File Permissions bulliver LinuxAnswers Discussion 32 12-19-2011 10:36 PM
Clarification of Linux File Permissions AlistairH Linux - Newbie 2 11-08-2005 04:03 PM
Linux File Permissions - Need some help. richcom23 Linux - Networking 6 02-24-2004 01:51 PM
Linux file permissions jamrock Linux - Networking 3 05-19-2003 12:24 PM
samba and linux file permissions? gene12 Linux - Networking 1 08-05-2002 02:58 PM

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

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