LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-14-2014, 01:56 AM   #1
shajay12
LQ Newbie
 
Registered: Jan 2009
Posts: 28

Rep: Reputation: 0
How to assign two groups rwx permission to a directory and its content


Hello Members,

Let me know. How to assign two groups +rwx permission to a directory and its content.

I want that a directory should have read write and execute permission for two groups : root and PEfolks and execute permission for others.

one more thing, ACL does not works on my filesystem.

it should show some thing like this:

drwx-rwx-x root root,PEfolks cgi-bin

let me know

Thanks Ajay
 
Old 07-14-2014, 09:18 AM   #2
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,783

Rep: Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214
Without ACLs you cannot assign permissions to more than one group. What type of filesystem do you have that supports Linux permissions and IDs but cannot use ACLs?
 
  


Reply

Tags
chmod, chown, groups, linux, permission



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
Two groups have permission on a Directory. jokar.mohsen Linux - Newbie 3 04-23-2014 08:40 AM
command to list files with rwx permission grungesabin Linux - Newbie 4 03-26-2012 06:42 AM
[SOLVED] du says "cannot read directory" and "permission denied", but I have rwx permissions mrtwice Linux - Software 14 04-21-2010 12:38 PM
how to give 'guest' rwx permission on a file/directory RH9Linux Linux - Software 3 06-27-2005 08:59 PM
Two groups that have different permission to the same directory - it's possible? immer Linux - Newbie 7 10-22-2004 05:00 AM

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

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