I have a collection of directories that should have permissions rw-rw-r-- for all contained regular files, and rwxrwxr-x for all contained directories. I can set the default permissions for all regular files and directories with something like setfacl -R -d -m g::rw /directory/name, but this will set the default permissions for new files and new directories to the same value, which I don't want.How can I create a chunk of the filesystem with rwx default permissions for the group, but just rw default permissions for files?
Setting rwx default permissions for the group, but just rw default permissions for files
linux;permissions;acl;defaults