mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
chmod /home/git/data directory. ref #34
This commit is contained in:
parent
eef316f7a1
commit
b55017c5db
@ -397,7 +397,8 @@ if [ ${GITLAB_RELATIVE_URL_ROOT} ]; then
|
||||
sudo -u git -H sed "s,# ENV\['RAILS_RELATIVE_URL_ROOT'\] = \"{{GITLAB_RELATIVE_URL_ROOT}}\",ENV\['RAILS_RELATIVE_URL_ROOT'\] = \"${GITLAB_RELATIVE_URL_ROOT}\"," -i /home/git/gitlab/config/unicorn.rb
|
||||
fi
|
||||
|
||||
# take ownership of /home/git/data
|
||||
# fix permission and ownership of /home/git/data
|
||||
chmod 755 /home/git/data
|
||||
chown git:git /home/git/data
|
||||
|
||||
# set executable flags on /home/git/data (needed if mounted from a data-only
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user