Commit a5e20638c2ca2317f88261cd627b2d8453e4445e

Authored by Michael Krane
1 parent 3657e951

Satellites access fix

doc/install/installation.md
... ... @@ -202,7 +202,7 @@ You can change `6-8-stable` to `master` if you want the *bleeding edge* version,
202 202  
203 203 # Create directory for satellites
204 204 sudo -u git -H mkdir /home/git/gitlab-satellites
205   - sudo chmod u+rwx,g+rx,o-rwx /home/git/gitlab-satellites
  205 + sudo chmod u+rwx,g=rx,o-rwx /home/git/gitlab-satellites
206 206  
207 207 # Make sure GitLab can write to the tmp/pids/ and tmp/sockets/ directories
208 208 sudo chmod -R u+rwX tmp/pids/
... ...
doc/update/6.6-to-6.7.md
... ... @@ -65,7 +65,7 @@ sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
65 65 sudo cp lib/support/logrotate/gitlab /etc/logrotate.d/gitlab
66 66  
67 67 # Close access to gitlab-satellites for others
68   -sudo chmod u+rwx,g+rx,o-rwx /home/git/gitlab-satellites
  68 +sudo chmod u+rwx,g=rx,o-rwx /home/git/gitlab-satellites
69 69 ```
70 70  
71 71  
... ...
doc/update/6.7-to-6.8.md
... ... @@ -67,7 +67,7 @@ sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
67 67 sudo cp lib/support/logrotate/gitlab /etc/logrotate.d/gitlab
68 68  
69 69 # Close access to gitlab-satellites for others
70   -sudo chmod u+rwx,g+rx,o-rwx /home/git/gitlab-satellites
  70 +sudo chmod u+rwx,g=rx,o-rwx /home/git/gitlab-satellites
71 71 ```
72 72  
73 73 ### 5. Update config files
... ...
lib/tasks/gitlab/check.rake
... ... @@ -458,7 +458,7 @@ namespace :gitlab do
458 458 else
459 459 puts "no".red
460 460 try_fixing_it(
461   - "sudo chmod u+rwx,g+rx,o-rwx #{satellites_path}",
  461 + "sudo chmod u+rwx,g=rx,o-rwx #{satellites_path}",
462 462 )
463 463 for_more_information(
464 464 see_installation_guide_section "GitLab"
... ...