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 07-14-2014, 02: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, 10:18 AM   #2
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 3,148

Rep: Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353
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


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


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