fix uploads permission

This commit is contained in:
Praveen Arimbrathodiyil 2016-01-15 23:01:16 +05:30
parent c60fb206ce
commit e70cf0ab41

1
debian/postinst vendored
View file

@ -34,6 +34,7 @@ case "$1" in
chown -R ${gitlab_user}: ${gitlab_home}
chown -R ${gitlab_user}: ${gitlab_data_dir}
chown -R ${gitlab_user}: /usr/share/gitlab-shell
sudo -u ${gitlab_user} mkdir -m 750 ${gitlab_home}/public/uploads
cd ${gitlab_home}
# Show debconf questions
. /usr/share/debconf/confmodule