38,760
edits
(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 (for more information, see [[Sharing_data# | 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 |