summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-04 14:31:26 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-04 14:31:26 +0300
commitad3a3e5201a38484bd2db17f40bc84dd55faf87b (patch)
treec9242e3f9f5ae6b404d348a39cafcb6781893212 /doc
parent14b68586b8c2187d918a2d6c8cad51a72e2b51cd (diff)
parent34c5e6de28aabbf1894d24ed5838f33e068c0c8d (diff)
downloadgitlab-ce-ad3a3e5201a38484bd2db17f40bc84dd55faf87b.tar.gz
Merge pull request #6658 from tsigo/rs-important-dirs
Make sure important directories exist in git
Diffstat (limited to 'doc')
-rw-r--r--doc/install/installation.md15
1 files changed, 6 insertions, 9 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md
index bc194d33927..784171e2d92 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -197,21 +197,18 @@ You can change `6-6-stable` to `master` if you want the *bleeding edge* version,
# Make sure GitLab can write to the log/ and tmp/ directories
sudo chown -R git log/
sudo chown -R git tmp/
- sudo chmod -R u+rwX log/
- sudo chmod -R u+rwX tmp/
+ sudo chmod -R u+rwX log/
+ sudo chmod -R u+rwX tmp/
# 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
- # Create directories for sockets/pids and make sure GitLab can write to them
- sudo -u git -H mkdir tmp/pids/
- sudo -u git -H mkdir tmp/sockets/
- sudo chmod -R u+rwX tmp/pids/
- sudo chmod -R u+rwX tmp/sockets/
+ # Make sure GitLab can write to the tmp/pids/ and tmp/sockets/ directories
+ sudo chmod -R u+rwX tmp/pids/
+ sudo chmod -R u+rwX tmp/sockets/
- # Create public/uploads directory otherwise backup will fail
- sudo -u git -H mkdir public/uploads
+ # Make sure GitLab can write to the public/uploads/ directory
sudo chmod -R u+rwX public/uploads
# Copy the example Unicorn config