Commit e5080755a8ed79353096631ba3287d62c5e3e61f
Merge pull request #2947 from nafu/4.2/doc_patch
Update command to execute as git user
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
doc/install/installation.md
... | ... | @@ -147,7 +147,7 @@ Fix the directory permissions for the repositories: |
147 | 147 | # Make sure the repositories dir is owned by git and it stays that way |
148 | 148 | sudo chmod -R ug+rwX,o-rwx /home/git/repositories/ |
149 | 149 | sudo chown -R git:git /home/git/repositories/ |
150 | - find /home/git/repositories -type d -print0 | sudo xargs -0 chmod g+s | |
150 | + sudo -u git -H find /home/git/repositories -type d -print0 | sudo xargs -0 chmod g+s | |
151 | 151 | |
152 | 152 | |
153 | 153 | ## Add domains to list to the list of known hosts | ... | ... |