LinuxQuestions.org
Review your favorite Linux distribution.
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 07-29-2014, 03:36 AM   #1
subratkprusty
LQ Newbie
 
Registered: Aug 2013
Posts: 7

Rep: Reputation: Disabled
Set permission to two groups on a single folder


Hi.
I need a folder with access control to group of users.
One write group(a list of users) should have write access to the folder & one read group should have only read access to the same folder. No other users apart from Write group & read group should any type of access to this folder.
 
Old 07-29-2014, 03:45 AM   #2
notKlaatu
Member
 
Registered: Sep 2010
Location: Wellington, New Zealand
Distribution: Slackware, Fedora
Posts: 921

Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
Are these local users or network users accessing a file share?
 
Old 07-29-2014, 05:08 AM   #3
subratkprusty
LQ Newbie
 
Registered: Aug 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
All these are local users
 
Old 07-29-2014, 06:33 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,258

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
A dir can only have one group 'owner', but you can add access for others via ACLs http://www.linuxtopia.org/online_boo...s-setting.html
 
1 members found this post helpful.
Old 07-29-2014, 07:18 AM   #5
subratkprusty
LQ Newbie
 
Registered: Aug 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thanks Cris...

below links will also be helpful.

http://askubuntu.com/questions/42146...pecific-folder
http://www.nuxified.org/blog/acls_ex...ilepermissions
 
  


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 & Folder Permission and Ownership permission error in Cloud storage. rhcekumaran Linux - Newbie 3 06-14-2013 05:41 AM
[SOLVED] how to set different permission for sub directories of a samba shared folder golden_boy615 Linux - Server 10 12-16-2011 07:54 PM
how do I set different permission for single user for sudo login n direct login? bhaveshvv109 Linux - Security 2 11-08-2011 09:23 PM
nfs server - sharing folder - folder permission dlugasx Linux - Server 1 02-15-2011 01:30 AM
configure smb.conf for set permission file and folder b-RAM Linux - Server 11 04-16-2009 04:15 AM


All times are GMT -5. The time now is 08:12 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