Translations:Frequently Asked Questions/50/en: Difference between revisions
Jump to navigation
Jump to search
(Importing a new version from external source) |
(Importing a new version from external source) |
||
Line 1: | Line 1: | ||
Then, set the [[Sharing_data#Set_Group_ID_.28SGID.29| | Then, set the <code>setgid</code> bit on all directories (for more information, see [[Sharing_data#Set_Group_ID_.28SGID.29|Group ID]]) to ensure that newly created files will inherit the directory's group membership, for example: | ||
lfs find ~/projects/def-professor/$USER -type d -print0 | xargs -0 chmod g+s | lfs find ~/projects/def-professor/$USER -type d -print0 | xargs -0 chmod g+s |
Revision as of 15:48, 28 July 2020
Then, set the setgid
bit on all directories (for more information, see Group ID) to ensure that newly created files will inherit the directory's group membership, for example:
lfs find ~/projects/def-professor/$USER -type d -print0 | xargs -0 chmod g+s