Fix permissions for ${gitlab_data_dir}/shared/artifacts/tmp/*

This commit is contained in:
Pirate Praveen 2020-07-16 17:33:59 +05:30
parent c7eaf98957
commit 0a1bff920a

View file

@ -110,7 +110,8 @@ case "$1" in
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}/shared \
${gitlab_data_dir}/shared/*
${gitlab_data_dir}/shared/* ${gitlab_data_dir}/shared/artifacts/* \
${gitlab_data_dir}/shared/artifacts/tmp/*
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"