LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-06-2012, 10:42 PM   #1
Xero2012
LQ Newbie
 
Registered: Oct 2012
Posts: 1

Rep: Reputation: Disabled
Filtering Folder permissions


Hello Folks,

First off completely new to Linux here though by reading and searching your forums they've helped me a lot in the past so I figured it high time I joined the club so to speak and actually asked a question. I want to put a disclaimer that this is something I'm trying to learn so I'm looking for for hints then absolute solutions, it also doesn't help that I can't use ACL's for this :-(

First off I'm running Fedora 12 (vm)

I'm working on something to create a folder system for 10 users (lets say uA, uB, uC, etc, etc)

I have Folder1/FolderA
/FolderB
/FolderC

Now in this case I want uA,uB to have pretty much complete access to these folders, to create and open etc at their leisure. So I made a group and made uA, uB members of that group, gave that group the pretty much complete folder and child folder control, meaning uA and uB are taken care of.

I figured my next step was to set the folder/child folder permissions for the own to say 500 (rx only)and then have Folder1 SUID so that when someone tries to execute FOLDER1 that they would have owner permissions
(500). The problem I now have however is that I do not want EVERYONE other then uA and uB to have owner permissions, only a select few users (say uC and uD but not uF etc etc) thats my perdicament so I'm trying to find a effective way to filter permissions without an ACL, either that or to somehow grant 2 GROUPS different permissions to the same folders, while still keeping non-members of those 2 groups (full and limited access groups I'd call them) out.

Thoughts? Hints?
 
Old 10-07-2012, 08:43 AM   #2
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 103Reputation: 103
If the third group needs limited access and if you are not opposed to other users to access just don't include the third group and set the "Others" to what you think is appropriate and the owner and group as stated above.
 
  


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
Changing folder permissions and its sub folder and files? stratotak Linux - Newbie 6 12-29-2011 06:11 AM
folder permissions lpn1160 Linux - General 4 10-29-2006 09:46 AM
permissions difference between /home/..../folder and /root/folder darkleaf Linux - General 3 07-21-2005 06:23 PM
folder permissions Godsmacker777 Linux - Newbie 4 12-02-2004 11:26 PM
Folder permissions fatboyjim Linux - Newbie 12 06-05-2002 03:20 PM


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