--- rpms/smeserver-git/contribs9/smeserver-git.spec 2016/06/24 10:27:11 1.8 +++ rpms/smeserver-git/contribs9/smeserver-git.spec 2016/06/24 11:34:53 1.9 @@ -1,6 +1,6 @@ %define name smeserver-git %define version 1.1.0 -%define release 7 +%define release 8 Summary: Centralised Git repositories with setup and configuration through SME Server admin panels. Name: %{name} Version: %{version} @@ -20,7 +20,6 @@ AutoReqProv: no Patch1: smeserver-git-1.1.0-fix_missing_group_modify_event_check.patch Patch2: smeserver-git-1.1.0-rewriterules_for_dot_git.patch Patch3: smeserver-git-1.1.0-LocationMatch.patch -Patch4: smeserver-git-1.1.0-db_permissions.patch %description @@ -32,6 +31,9 @@ installs and enables the git server on t host.com/git. Repositories are then available as https://host.com/git/gitrepo.git. %changelog +* Fri Jun 24 2016 Jean-Philipe Pialasse 1.1.0-8.sme +- reevrting git db to 644 as default-initialize_database will chown it root:admin + * Fri Jun 24 2016 Jean-Philipe Pialasse 1.1.0-7.sme - removing fragment migrate as it should not be used for that [SME: 9619] @@ -114,7 +116,6 @@ host.com/git. Repositories are then avai %patch1 -p1 %patch2 -p1 %patch3 -p1 -%patch4 -p1 mkdir -p root/home/e-smith/files/git/ %build @@ -147,9 +148,8 @@ chown admin:www /home/e-smith/files/git /etc/rc7.d/S86httpd-e-smith sighup # fixing needed permissions -chown root:www /home/e-smith/db/git # fixing previous mess -chmod 640 /home/e-smnth/db/git +chmod 644 /home/e-smith/db/git chmod 640 /home/e-smith/db/accounts chmod 640 /home/e-smith/db/networks