I have two groups
group1 users to be able to read-write (rwx) files owned by users in
group2, but users in
group2 cannot write to (r-x) files from
All users in a group can read, but not write to, files on the same group (r-x)
I know that I can use ACL (Access Control Lists) to deal with it.
setfacl -m g:group1:rwx "directory owned by a group2 user"
the problem is that it must be set for every new folder. is there a way to set as default so that every new
group2 user's file/folder have this permission applied?
will this default be applied if I create a new user in
I know that the normal permissions are copied from
/etc/skel to the home folder when a new user is created, but how to make the acl permissions to be copied too?