...
Third, if you create subfolders this happens,
...
setgid Recursively for Only Folders
In this case, we want to take an existing folder with many files for a zero footprint application and ensure that any new files created will belong to the right group.
Code Block |
---|
find /path/to/hierarchy -type d | xargs chmod g+s chgrp -R groupname /path/to/hierarchy |