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 <code>setgid</code> bit on all directories to ensure that newly created files will inherit the directory's group membership, for example: | Then, set the [[Sharing_data#Set_Group_ID_.28SGID.29|Set Group ID]] (SGID or <code>setgid</code>) bit on all directories 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 20:22, 13 July 2020
Then, set the Set Group ID (SGID or setgid
) bit on all directories 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