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.
451451
452452 # Create directory for satellites
453453 sudo -u git -H mkdir /home/git/gitlab-satellites
454+ chmod u+rwx,g+rx,o-rwx /home/git/gitlab-satellites
454455
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
458457 chmod -R u+rwX tmp/pids/
459458 chmod -R u+rwX tmp/sockets/
460459
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
463461 chmod -R u+rwX public/uploads
464462
465463 # Copy the example Unicorn config
You can’t perform that action at this time.
0 commit comments