I have set default permissions for new files and groups in my directory like this
sudo setfacl -d -m g::rwX /<directory>
It works great.
The problem is, that if I create any new files or directories in child directories of <directory>
, the ACL I set no longer affects them.
How can I make sure that the permissions above will also be applied to any new files or directory which are located anywhere under <directory>
Use the
-Rdm
(recursive) options.