make uploads directory permissions 0700

This commit is contained in:
Praveen Arimbrathodiyil 2016-04-02 19:50:36 +05:30
parent c6385db896
commit af5ffd6d09

2
debian/postinst vendored
View file

@ -50,6 +50,8 @@ case "$1" in
chown -R ${gitlab_user}: $i chown -R ${gitlab_user}: $i
done done
chmod 0700 ${gitlab_uploads_path}
# nginx should be able to connect to gitlab-workhorse.socket and serve public # nginx should be able to connect to gitlab-workhorse.socket and serve public
chown ${gitlab_user}:${nginx_user} -R ${gitlab_uploads_path}/.. ${gitlab_pid_path} chown ${gitlab_user}:${nginx_user} -R ${gitlab_uploads_path}/.. ${gitlab_pid_path}