Commit 42dd006dfc39fc637027a6c2c8c659febde24ad6
1 parent
003c3121
Exists in
master
and in
4 other branches
Small fixes to the installation guide and check task
Showing
2 changed files
with
2 additions
and
2 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 | + 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 | ... | ... |
lib/tasks/gitlab/check.rake
| ... | ... | @@ -730,7 +730,7 @@ namespace :gitlab do |
| 730 | 730 | puts "no".red |
| 731 | 731 | try_fixing_it( |
| 732 | 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 | 734 | "find #{repo_base_path} -type d -print0 | sudo xargs -0 chmod g+s" |
| 735 | 735 | ) |
| 736 | 736 | for_more_information( | ... | ... |