[DRE-commits] [gitlab] 06/09: make uploads directory permissions 0700

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sat Apr 2 16:23:35 UTC 2016


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master-8.5
in repository gitlab.

commit af5ffd6d09273195669b273a77c28bcda5936f64
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sat Apr 2 19:50:36 2016 +0530

    make uploads directory permissions 0700
---
 debian/postinst | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/postinst b/debian/postinst
index 7be9080..099e135 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -50,6 +50,8 @@ 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}
     

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab.git



More information about the Pkg-ruby-extras-commits mailing list