fix uploads permission
This commit is contained in:
parent
c60fb206ce
commit
e70cf0ab41
1 changed files with 1 additions and 0 deletions
1
debian/postinst
vendored
1
debian/postinst
vendored
|
@ -34,6 +34,7 @@ case "$1" in
|
||||||
chown -R ${gitlab_user}: ${gitlab_home}
|
chown -R ${gitlab_user}: ${gitlab_home}
|
||||||
chown -R ${gitlab_user}: ${gitlab_data_dir}
|
chown -R ${gitlab_user}: ${gitlab_data_dir}
|
||||||
chown -R ${gitlab_user}: /usr/share/gitlab-shell
|
chown -R ${gitlab_user}: /usr/share/gitlab-shell
|
||||||
|
sudo -u ${gitlab_user} mkdir -m 750 ${gitlab_home}/public/uploads
|
||||||
cd ${gitlab_home}
|
cd ${gitlab_home}
|
||||||
# Show debconf questions
|
# Show debconf questions
|
||||||
. /usr/share/debconf/confmodule
|
. /usr/share/debconf/confmodule
|
||||||
|
|
Loading…
Reference in a new issue