From 7359133798e8cc4fdd6569a11fd20f02110331fc Mon Sep 17 00:00:00 2001 From: Al Tobey Date: Thu, 5 Jul 2012 15:25:53 -0700 Subject: [PATCH] The gitlab.pub file probably shouldn't be world readable, but let's start with just making it read-only and not executable. --- doc/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/installation.md b/doc/installation.md index bf579b17..2a8a0ea0 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"