Commit 42dd006dfc39fc637027a6c2c8c659febde24ad6

Authored by Riyad Preukschas
1 parent 003c3121

Small fixes to the installation guide and check task

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 + 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
lib/tasks/gitlab/check.rake
@@ -730,7 +730,7 @@ namespace :gitlab do @@ -730,7 +730,7 @@ namespace :gitlab do
730 puts "no".red 730 puts "no".red
731 try_fixing_it( 731 try_fixing_it(
732 "sudo chmod -R ug+rwX,o-rwx #{repo_base_path}", 732 "sudo chmod -R ug+rwX,o-rwx #{repo_base_path}",
733 - "sudo chmod -R u-s #{repo_base_path}", 733 + "sudo chmod -R ug-s #{repo_base_path}",
734 "find #{repo_base_path} -type d -print0 | sudo xargs -0 chmod g+s" 734 "find #{repo_base_path} -type d -print0 | sudo xargs -0 chmod g+s"
735 ) 735 )
736 for_more_information( 736 for_more_information(