diff --git a/debian/postinst b/debian/postinst index a4f9c4fa6d..aeec0256ca 100755 --- a/debian/postinst +++ b/debian/postinst @@ -50,7 +50,6 @@ case "$1" in chown -R ${gitlab_user}: $i done - chmod 0700 ${gitlab_uploads_path} # 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} @@ -63,7 +62,7 @@ case "$1" in chown -R ${gitlab_user}: $i done - su ${gitlab_user} -s /bin/sh -c "chmod 750 ${gitlab_uploads_path}" + su ${gitlab_user} -s /bin/sh -c "chmod 700 ${gitlab_uploads_path}" su ${gitlab_user} -s /bin/sh -c 'git config --global core.autocrlf "input"' # Commands below needs to be run from gitlab_app_root