1

Let me explain the situation, I have 15 users which are assigned to a bunch of different groups. I gave rwx permissions to all 15 but 2 users (I simply made a group specifically for that) for a directory bills, but theres another subdirectory access, in which I need to give r-x permissions to a group of 2 users, and rwx permissions to another group made up of 2 users as well. I will also need to do the same thing on different directories later on.

So, is this even possible? If so, how can I do it?

1
  • Look up ACLs (getfacl/setfacl). Commented Apr 13, 2018 at 8:18

1 Answer 1

0

You cannot assign multiple groups to a single directory. For that you will want to use Access Control Lists (ACL) just like "muru" said above. tutorial on ACL. Here's another great tutorial by Benjamin Cane Benjamin Cane - ACL tutorial.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.