[packages/gitlab-common] root own the home dir and make it accessible
glen
glen at pld-linux.org
Sun Sep 25 02:34:12 CEST 2016
commit 82f1fe7751921447aa599e78ff140346b8f20879
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Sep 25 03:33:26 2016 +0300
root own the home dir and make it accessible
uploads and assets need to be accessed by webserver user
gitlab-common.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gitlab-common.spec b/gitlab-common.spec
index 4693c9f..b9fe485 100644
--- a/gitlab-common.spec
+++ b/gitlab-common.spec
@@ -49,7 +49,7 @@ fi
%files
%defattr(644,root,root,755)
%dir %{_sysconfdir}/gitlab
-%dir %attr(750,%{gitlab_user},%{gitlab_group}) %{git_dir}
+%dir %{git_dir}
%dir %attr(700,%{gitlab_user},%{gitlab_group}) %{git_dir}/.ssh
%config(noreplace) %verify(not md5 mtime size) %attr(600,%{gitlab_user},%{gitlab_group}) %{git_dir}/.ssh/authorized_keys
%dir %attr(2770,%{gitlab_user},%{gitlab_group}) %{git_dir}/repositories
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gitlab-common.git/commitdiff/82f1fe7751921447aa599e78ff140346b8f20879
More information about the pld-cvs-commit
mailing list