[DRE-commits] [gitlab] 01/05: fix uploads permission
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Fri Jan 15 18:22:20 UTC 2016
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master-8.4
in repository gitlab.
commit e70cf0ab412cb55d77e8e4a1d4356f4556ab66dc
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Fri Jan 15 23:01:16 2016 +0530
fix uploads permission
---
debian/postinst | 1 +
1 file changed, 1 insertion(+)
diff --git a/debian/postinst b/debian/postinst
index 0f9bab7..ab8948f 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -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
--
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