Consider we have two groups: readers and writers. I want to create a file (directory), for which the following holds:
- Only users from group 'writers' can have write access to this file.
- Only users from 'readers' or 'writers' can read this file.
- Other users have no access to file.
If writers has only one member, it can be easily done with 640 mask (owner writer, group readers). But how can this be done for group?