Commit 244a1cad62ad9675a218093dc6fbc07f302a0d9e

Authored by Valeriy Sizov
2 parents 5265a88d 73591337

Merge pull request #1045 from tobert/patch-1

The gitlab.pub file probably shouldn't be world readable, but let's star...
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
doc/installation.md
... ... @@ -110,7 +110,7 @@ Setup:
110 110 sudo -u git sh -c 'echo -e "PATH=\$PATH:/home/git/bin\nexport PATH" >> /home/git/.profile'
111 111 sudo -u git -H sh -c "PATH=/home/git/bin:$PATH; /home/git/gitolite/src/gl-system-install"
112 112 sudo cp /home/gitlab/.ssh/id_rsa.pub /home/git/gitlab.pub
113   - sudo chmod 777 /home/git/gitlab.pub
  113 + sudo chmod 0444 /home/git/gitlab.pub
114 114  
115 115 sudo -u git -H sed -i 's/0077/0007/g' /home/git/share/gitolite/conf/example.gitolite.rc
116 116 sudo -u git -H sh -c "PATH=/home/git/bin:$PATH; gl-setup -q /home/git/gitlab.pub"
... ...