Commit 0ecd7f790ed9e897dff89a65d2050dbf836ec860
Exists in
spb-stable
and in
3 other branches
Merge branch 'update_update_guides' into 'master'
Add to update guides satellites group permission.
Showing
3 changed files
with
7 additions
and
1 deletions
Show diff stats
doc/install/installation.md
... | ... | @@ -202,7 +202,7 @@ You can change `6-6-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 o-rwx /home/git/gitlab-satellites | |
205 | + sudo chmod u+rwx,g+rx,o-rwx /home/git/gitlab-satellites | |
206 | 206 | |
207 | 207 | # Create directories for sockets/pids and make sure GitLab can write to them |
208 | 208 | sudo -u git -H mkdir tmp/pids/ | ... | ... |
doc/update/6.0-to-6.7.md
... | ... | @@ -80,6 +80,9 @@ sudo -u git -H bundle exec rake migrate_iids RAILS_ENV=production |
80 | 80 | |
81 | 81 | # Clean up assets and cache |
82 | 82 | sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS_ENV=production |
83 | + | |
84 | +# Close access to gitlab-satellites for others | |
85 | +sudo chmod u+rwx,g+rx,o-rwx /home/git/gitlab-satellites | |
83 | 86 | ``` |
84 | 87 | |
85 | 88 | ### 6. Update config files | ... | ... |
doc/update/6.6-to-6.7.md
... | ... | @@ -63,6 +63,9 @@ sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab |
63 | 63 | |
64 | 64 | # Update the logrotate configuration (keep logs for 90 days instead of 52 weeks) |
65 | 65 | sudo cp lib/support/logrotate/gitlab /etc/logrotate.d/gitlab |
66 | + | |
67 | +# Close access to gitlab-satellites for others | |
68 | +sudo chmod u+rwx,g+rx,o-rwx /home/git/gitlab-satellites | |
66 | 69 | ``` |
67 | 70 | |
68 | 71 | ... | ... |