Commit 6ce2ff66974eeeb88f3ea523eaa38355be8d27c2

Authored by Fumiya Nakamura
1 parent 970f8607

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,7 +147,7 @@ Fix the directory permissions for the repositories:
147 # Make sure the repositories dir is owned by git and it stays that way 147 # Make sure the repositories dir is owned by git and it stays that way
148 sudo chmod -R ug+rwX,o-rwx /home/git/repositories/ 148 sudo chmod -R ug+rwX,o-rwx /home/git/repositories/
149 sudo chown -R git:git /home/git/repositories/ 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 ## Add domains to list to the list of known hosts 153 ## Add domains to list to the list of known hosts