Skip to content

Commit ed41312

Browse files
committed
compress command using bash's Brace Expansion
1 parent e434e7a commit ed41312

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

install/centos/README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)