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) |
||
(2 intermediate revisions by the same user not shown) | |||
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 <code>setgid</code> bit on all directories (for more information, see [[Sharing_data#Set_Group_ID_bit|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 |
Latest revision as of 15:38, 17 April 2024
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