make uploads directory permissions 0700
This commit is contained in:
parent
c6385db896
commit
af5ffd6d09
1 changed files with 2 additions and 0 deletions
2
debian/postinst
vendored
2
debian/postinst
vendored
|
@ -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}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue