Fix permissions for ${gitlab_data_dir}/shared/artifacts/tmp/*
This commit is contained in:
parent
c7eaf98957
commit
0a1bff920a
1 changed files with 2 additions and 1 deletions
3
debian/gitlab.postinst
vendored
3
debian/gitlab.postinst
vendored
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue