[zabbix] home directory must go with the zabbix user

Dan Horák sharkcz at fedoraproject.org
Thu Sep 8 12:07:13 UTC 2011


commit 7196058e6e3a9d082d46ffc0c847772da865b292
Author: Dan Horák <dan at danny.cz>
Date:   Thu Sep 8 14:06:10 2011 +0200

    home directory must go with the zabbix user

 zabbix.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/zabbix.spec b/zabbix.spec
index 04a83a3..4b7efa3 100644
--- a/zabbix.spec
+++ b/zabbix.spec
@@ -535,6 +535,7 @@ fi
 %if 0%{?fedora} >= 15
 %config(noreplace) %{_sysconfdir}/tmpfiles.d/zabbix.conf
 %endif
+%attr(0755,zabbix,zabbix) %dir %{_localstatedir}/lib/%{srcname}
 %attr(0755,zabbix,zabbix) %dir %{_localstatedir}/log/%{srcname}
 %attr(0755,zabbix,zabbix) %dir %{_localstatedir}/run/%{srcname}
 
@@ -549,7 +550,6 @@ fi
 %config(noreplace) %{_sysconfdir}/logrotate.d/zabbix-server
 %{_sysconfdir}/init.d/zabbix-server
 %{_mandir}/man8/zabbix_server.8*
-%attr(0755,zabbix,zabbix) %dir %{_localstatedir}/lib/%{srcname}
 
 %files server-mysql
 %defattr(-,root,root,-)


More information about the scm-commits mailing list