Skip to content
Snippets Groups Projects
Commit 6ce2ff66 authored by Fumiya Nakamura's avatar Fumiya Nakamura
Browse files

Update command to execute as git user

parent 970f8607
No related branches found
No related tags found
3 merge requests!3250Add gem install bundler to installation guide,!3140Patch 1,!2947Update command to execute as git user
Loading
Loading
@@ -147,7 +147,7 @@ Fix the directory permissions for the repositories:
# Make sure the repositories dir is owned by git and it stays that way
sudo chmod -R ug+rwX,o-rwx /home/git/repositories/
sudo chown -R git:git /home/git/repositories/
find /home/git/repositories -type d -print0 | sudo xargs -0 chmod g+s
sudo -u git -H find /home/git/repositories -type d -print0 | sudo xargs -0 chmod g+s
 
 
## Add domains to list to the list of known hosts
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment