diff options
author | Marin Jankovski <marin@gitlab.com> | 2014-04-04 09:36:25 +0200 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2014-04-04 09:36:25 +0200 |
commit | 04324908fb14fe2bb0600a164a60870100122d3f (patch) | |
tree | f6654800494d29f3778d70a35d9affa31ece217b | |
parent | 49a5159946bc8added6258f62efcf7674e4b0562 (diff) | |
download | gitlab-ce-04324908fb14fe2bb0600a164a60870100122d3f.tar.gz |
Add to update guides satellites group permission.
-rw-r--r-- | doc/install/installation.md | 2 | ||||
-rw-r--r-- | doc/update/6.0-to-6.7.md | 3 | ||||
-rw-r--r-- | doc/update/6.6-to-6.7.md | 3 |
3 files changed, 7 insertions, 1 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md index b640996c28c..bc194d33927 100644 --- a/doc/install/installation.md +++ b/doc/install/installation.md @@ -202,7 +202,7 @@ You can change `6-6-stable` to `master` if you want the *bleeding edge* version, # Create directory for satellites sudo -u git -H mkdir /home/git/gitlab-satellites - sudo chmod o-rwx /home/git/gitlab-satellites + sudo chmod u+rwx,g+rx,o-rwx /home/git/gitlab-satellites # Create directories for sockets/pids and make sure GitLab can write to them sudo -u git -H mkdir tmp/pids/ diff --git a/doc/update/6.0-to-6.7.md b/doc/update/6.0-to-6.7.md index 5023e34f189..aa1b388fa9a 100644 --- a/doc/update/6.0-to-6.7.md +++ b/doc/update/6.0-to-6.7.md @@ -80,6 +80,9 @@ sudo -u git -H bundle exec rake migrate_iids RAILS_ENV=production # Clean up assets and cache sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS_ENV=production + +# Close access to gitlab-satellites for others +sudo chmod u+rwx,g+rx,o-rwx /home/git/gitlab-satellites ``` ### 6. Update config files diff --git a/doc/update/6.6-to-6.7.md b/doc/update/6.6-to-6.7.md index 8a16e5d67be..0f39c037c9f 100644 --- a/doc/update/6.6-to-6.7.md +++ b/doc/update/6.6-to-6.7.md @@ -63,6 +63,9 @@ sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab # Update the logrotate configuration (keep logs for 90 days instead of 52 weeks) sudo cp lib/support/logrotate/gitlab /etc/logrotate.d/gitlab + +# Close access to gitlab-satellites for others +sudo chmod u+rwx,g+rx,o-rwx /home/git/gitlab-satellites ``` |