diff options
author | Marin Jankovski <marin@gitlab.com> | 2016-02-23 15:12:20 +0000 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2016-02-23 15:12:20 +0000 |
commit | f317d5fcb995e40c80946f92dcf37a394c2dffbc (patch) | |
tree | 85781ca81906c5f1a020f64a9ad5bb995c258a2a /doc/install | |
parent | 6263a3ca3c66c06c7776c6f6e50bde17a6a60a33 (diff) | |
parent | a1a6f3cc737e03a8649d7cb98c3ee089133e34d7 (diff) | |
download | gitlab-ce-f317d5fcb995e40c80946f92dcf37a394c2dffbc.tar.gz |
Merge branch 'uploads-700' into 'master'
revert-53176717
Restrict permissions on public/uploads
Based on https://gitlab.com/gitlab-org/omnibus-gitlab/merge_requests/631
See merge request !2764
Diffstat (limited to 'doc/install')
-rw-r--r-- | doc/install/installation.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md index 2a5b99609e4..c1787a7c6a8 100644 --- a/doc/install/installation.md +++ b/doc/install/installation.md @@ -265,8 +265,9 @@ sudo usermod -aG redis git # Create the public/uploads/ directory sudo -u git -H mkdir public/uploads/ - # Make sure GitLab can write to the public/uploads/ directory - sudo chmod -R u+rwX public/uploads + # Make sure only the GitLab user has access to the public/uploads/ directory + # now that files in public/uploads are served by gitlab-workhorse + sudo chmod 0700 public/uploads # Change the permissions of the directory where CI build traces are stored sudo chmod -R u+rwX builds/ |