In Windows this is easy. I never fully figured out Linux permissions, I have a directory such as this:
/Photos
The current ACL permissions are as follows:
owner: root - full access
group: photos -full access
everyone: no access
the photos group currently has full access. But I would like to add an additional group that have read only access, called readOnlyPhotos, without enabling read access to "everyone".
That is, I want that folder to be inaccessible to anyone except for people who are either in photos group (who get full access) or readOnlyPhotos group (who get read only access). Also any new files and folders that get created in the /Photos folder should inherit these default permissions.
How can I configure the permissions on the /Photos folder to achieve this effect?
man setfacl
.