summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAl Tobey <tobert@gmail.com>2012-07-05 15:25:53 -0700
committerAl Tobey <tobert@gmail.com>2012-07-05 15:25:53 -0700
commit7359133798e8cc4fdd6569a11fd20f02110331fc (patch)
tree97647b77863e0a5752005fbaad15d6dc9427abe6 /doc
parent666cdb22792dd955a286b9993d6235b4cdd68b4b (diff)
downloadgitlab-ce-7359133798e8cc4fdd6569a11fd20f02110331fc.tar.gz
The gitlab.pub file probably shouldn't be world readable, but let's start with just making it read-only and not executable.
Diffstat (limited to 'doc')
-rw-r--r--doc/installation.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/installation.md b/doc/installation.md
index bf579b174c3..2a8a0ea05d8 100644
--- a/doc/installation.md
+++ b/doc/installation.md
@@ -110,7 +110,7 @@ Setup:
sudo -u git sh -c 'echo -e "PATH=\$PATH:/home/git/bin\nexport PATH" > /home/git/.profile'
sudo -u git -H sh -c "PATH=/home/git/bin:$PATH; /home/git/gitolite/src/gl-system-install"
sudo cp /home/gitlab/.ssh/id_rsa.pub /home/git/gitlab.pub
- sudo chmod 777 /home/git/gitlab.pub
+ sudo chmod 0444 /home/git/gitlab.pub
sudo -u git -H sed -i 's/0077/0007/g' /home/git/share/gitolite/conf/example.gitolite.rc
sudo -u git -H sh -c "PATH=/home/git/bin:$PATH; gl-setup -q /home/git/gitlab.pub"