Two groups have permission on a Directory.
Hello.
How can I set permission for my directory with two different groups? For example I have two groups with the name G1 and G2 and groups can have access to a directory with the name test. Cheers. |
Conventional Linux permissions only allow one owner and one group, so the simplest way is to create a new group G1G2 with all the users from G1 and G2.
|
You can use subgroups.
So a group X can refer to the groups A, B, and C. You should also check into the ACL utilities and procedures using setfacl and such. |
Quote:
|
All times are GMT -5. The time now is 08:33 PM. |