Fix permissions of shared

This commit is contained in:
Pirate Praveen 2018-10-19 13:00:15 +05:30
parent b03d5ba9ab
commit dbbfd34d01

View file

@ -104,7 +104,8 @@ case "$1" in
mkdir -p ${gitlab_pid_path}
chown ${gitlab_user}: ${gitlab_data_dir}/public ${gitlab_cache_path} \
${gitlab_log_dir} ${gitlab_shell_log} ${gitlab_pid_path} \
${gitlab_data_dir}/db ${gitlab_data_dir}/locale
${gitlab_data_dir}/db ${gitlab_data_dir}/locale ${gitlab_data_dir}/shared \
${gitlab_data_dir}/shared/*
for i in ${gitlab_repo_path} ${gitlab_uploads_path}\
${gitlab_shell_log} ${gitlab_builds_log}; do
runuser -u ${gitlab_user} -- sh -c "mkdir -p $i"