Commit 2b4bebd9f25a1b378af3bd60accdd9268fc7fe49
1 parent
b8ce5447
Exists in
master
and in
4 other branches
Doc: set permission on config.database.yml
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
doc/install/installation.md
| ... | ... | @@ -173,6 +173,9 @@ You can change `5-3-stable` to `master` if you want the *bleeding edge* version, |
| 173 | 173 | # Create directory for satellites |
| 174 | 174 | sudo -u git -H mkdir /home/git/gitlab-satellites |
| 175 | 175 | |
| 176 | + # Make config/database.yml readable to git only | |
| 177 | + sudo -u git -H chmod o-rwx config/database.yml | |
| 178 | + | |
| 176 | 179 | # Create directories for sockets/pids and make sure GitLab can write to them |
| 177 | 180 | sudo -u git -H mkdir tmp/pids/ |
| 178 | 181 | sudo -u git -H mkdir tmp/sockets/ | ... | ... |