LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 02: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, 02:45 AM   #2
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732
Are these local users or network users accessing a file share?
 
Old 07-29-2014, 04: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, 05:33 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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, 06: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



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 04:41 AM
[SOLVED] how to set different permission for sub directories of a samba shared folder golden_boy615 Linux - Server 10 12-16-2011 06:54 PM
how do I set different permission for single user for sudo login n direct login? bhaveshvv109 Linux - Security 2 11-08-2011 08:23 PM
nfs server - sharing folder - folder permission dlugasx Linux - Server 1 02-15-2011 12:30 AM
configure smb.conf for set permission file and folder b-RAM Linux - Server 11 04-16-2009 03:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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