summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Krane <Michael.Krane@gmx.de>2014-04-27 11:36:45 +0200
committerMichael Krane <Michael.Krane@gmx.de>2014-04-27 11:36:45 +0200
commita5e20638c2ca2317f88261cd627b2d8453e4445e (patch)
tree0dcb02f1f15065a58f39e7d03c4ae2798c3c4203
parent3657e951956fd5cbeb42c14e6df9af645da3067e (diff)
downloadgitlab-ce-a5e20638c2ca2317f88261cd627b2d8453e4445e.tar.gz
Satellites access fix
-rw-r--r--doc/install/installation.md2
-rw-r--r--doc/update/6.6-to-6.7.md2
-rw-r--r--doc/update/6.7-to-6.8.md2
-rw-r--r--lib/tasks/gitlab/check.rake2
4 files changed, 4 insertions, 4 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md
index 579656eda2f..1a9f6406fba 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -202,7 +202,7 @@ You can change `6-8-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 u+rwx,g+rx,o-rwx /home/git/gitlab-satellites
+ sudo chmod u+rwx,g=rx,o-rwx /home/git/gitlab-satellites
# Make sure GitLab can write to the tmp/pids/ and tmp/sockets/ directories
sudo chmod -R u+rwX tmp/pids/
diff --git a/doc/update/6.6-to-6.7.md b/doc/update/6.6-to-6.7.md
index 0f39c037c9f..6a621144898 100644
--- a/doc/update/6.6-to-6.7.md
+++ b/doc/update/6.6-to-6.7.md
@@ -65,7 +65,7 @@ sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
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
+sudo chmod u+rwx,g=rx,o-rwx /home/git/gitlab-satellites
```
diff --git a/doc/update/6.7-to-6.8.md b/doc/update/6.7-to-6.8.md
index 63023fd384b..b5f87113618 100644
--- a/doc/update/6.7-to-6.8.md
+++ b/doc/update/6.7-to-6.8.md
@@ -67,7 +67,7 @@ sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
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
+sudo chmod u+rwx,g=rx,o-rwx /home/git/gitlab-satellites
```
### 5. Update config files
diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake
index bf015a1fe16..f77b817bb49 100644
--- a/lib/tasks/gitlab/check.rake
+++ b/lib/tasks/gitlab/check.rake
@@ -458,7 +458,7 @@ namespace :gitlab do
else
puts "no".red
try_fixing_it(
- "sudo chmod u+rwx,g+rx,o-rwx #{satellites_path}",
+ "sudo chmod u+rwx,g=rx,o-rwx #{satellites_path}",
)
for_more_information(
see_installation_guide_section "GitLab"