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.
457
457
sudo -u git -H editor config/gitlab.yml
458
458
459
459
# 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}
464
462
465
463
# Create directory for satellites
466
464
sudo -u git -H mkdir /home/git/gitlab-satellites
467
465
chmod u+rwx,g+rx,o-rwx /home/git/gitlab-satellites
468
466
469
467
# 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}
472
469
473
470
# Make sure GitLab can write to the public/uploads/ directory
474
471
chmod -R u+rwX public/uploads
You can’t perform that action at this time.
0 commit comments