Fix permissions of shared
This commit is contained in:
parent
b03d5ba9ab
commit
dbbfd34d01
1 changed files with 2 additions and 1 deletions
3
debian/gitlab.postinst
vendored
3
debian/gitlab.postinst
vendored
|
@ -104,7 +104,8 @@ case "$1" in
|
||||||
mkdir -p ${gitlab_pid_path}
|
mkdir -p ${gitlab_pid_path}
|
||||||
chown ${gitlab_user}: ${gitlab_data_dir}/public ${gitlab_cache_path} \
|
chown ${gitlab_user}: ${gitlab_data_dir}/public ${gitlab_cache_path} \
|
||||||
${gitlab_log_dir} ${gitlab_shell_log} ${gitlab_pid_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}\
|
for i in ${gitlab_repo_path} ${gitlab_uploads_path}\
|
||||||
${gitlab_shell_log} ${gitlab_builds_log}; do
|
${gitlab_shell_log} ${gitlab_builds_log}; do
|
||||||
runuser -u ${gitlab_user} -- sh -c "mkdir -p $i"
|
runuser -u ${gitlab_user} -- sh -c "mkdir -p $i"
|
||||||
|
|
Loading…
Reference in a new issue