diff --git a/debian/gitlab.postinst b/debian/gitlab.postinst index bfd83f44e2..e9dd6e70ba 100755 --- a/debian/gitlab.postinst +++ b/debian/gitlab.postinst @@ -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"