A username can be assigned to multiple groups.
- Create a new group.
- chmod the directory for only that group to have access.
- Assign users to the group
I have multiple users witth different group.
I want only the specified users to read and write into a directory and other users must not be able to read or write into the directory. How this can be done?