[packages/zabbix] fix permissions of webserver configs

glen glen at pld-linux.org
Sun Oct 29 22:58:01 CET 2017


commit 7132ad20a27923cd531f442306b4e754d6116710
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sun Oct 29 23:57:28 2017 +0200

    fix permissions of webserver configs
    
    apparently too much copy-paste from template

 zabbix.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/zabbix.spec b/zabbix.spec
index dd3a017..f815315 100644
--- a/zabbix.spec
+++ b/zabbix.spec
@@ -577,12 +577,13 @@ ln -sf %{_sbindir}/zabbix_proxy-sqlite3 %{_sbindir}/zabbix_proxy || :
 %files frontend-php
 %defattr(644,root,root,755)
 %attr(750,root,http) %dir %{_webapps}/%{_webapp}
-%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/*
-%{_appdir}/frontends/php
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/apache.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/httpd.conf
 %ghost %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frontend/zabbix.conf.php
 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frontend/.htaccess
 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frontend/maintenance.inc.php
 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frontend/zabbix.conf.php.example
+%{_appdir}/frontends/php
 
 %files get
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/zabbix.git/commitdiff/7132ad20a27923cd531f442306b4e754d6116710



More information about the pld-cvs-commit mailing list