File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -451,15 +451,13 @@ authentication methods.
451
451
452
452
# Create directory for satellites
453
453
sudo -u git -H mkdir /home/git/gitlab-satellites
454
+ chmod u+rwx,g+rx,o-rwx /home/git/gitlab-satellites
454
455
455
- # Create directories for sockets/pids and make sure GitLab can write to them
456
- sudo -u git -H mkdir tmp/pids/
457
- sudo -u git -H mkdir tmp/sockets/
456
+ # Make sure GitLab can write to the tmp/pids/ and tmp/sockets/ directories
458
457
chmod -R u+rwX tmp/pids/
459
458
chmod -R u+rwX tmp/sockets/
460
459
461
- # Create public/uploads directory otherwise backup will fail
462
- sudo -u git -H mkdir public/uploads
460
+ # Make sure GitLab can write to the public/uploads/ directory
463
461
chmod -R u+rwX public/uploads
464
462
465
463
# Copy the example Unicorn config
You can’t perform that action at this time.
0 commit comments