File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -457,18 +457,15 @@ authentication methods.
457457 sudo -u git -H editor config/gitlab.yml
458458
459459 # Make sure GitLab can write to the log/ and tmp/ directories
460- chown -R git log/
461- chown -R git tmp/
462- chmod -R u+rwX log/
463- chmod -R u+rwX tmp/
460+ chown -R git {log,tmp}
461+ chmod -R u+rwX {log,tmp}
464462
465463 # Create directory for satellites
466464 sudo -u git -H mkdir /home/git/gitlab-satellites
467465 chmod u+rwx,g+rx,o-rwx /home/git/gitlab-satellites
468466
469467 # Make sure GitLab can write to the tmp/pids/ and tmp/sockets/ directories
470- chmod -R u+rwX tmp/pids/
471- chmod -R u+rwX tmp/sockets/
468+ chmod -R u+rwX tmp/{pids,sockets}
472469
473470 # Make sure GitLab can write to the public/uploads/ directory
474471 chmod -R u+rwX public/uploads
You can’t perform that action at this time.
0 commit comments