From 03ab9c3d1b9c79d973b8765811e46470f450a3e8 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 16 Apr 2013 10:55:00 +0200 Subject: [PATCH] Mark zabbix conf as config file (no replace on upgrade if customized) --- zabbix-agent-addons.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zabbix-agent-addons.spec b/zabbix-agent-addons.spec index 1da33e4..6de4964 100644 --- a/zabbix-agent-addons.spec +++ b/zabbix-agent-addons.spec @@ -59,9 +59,9 @@ LVM, RAID status, S.M.A.R.T. drives, BackupPC etc... %doc README CHANGELOG.git %dir %attr(0750,zabbix,zabbix) %{_localstatedir}/lib/zabbix/bin %{_localstatedir}/lib/zabbix/bin/* -%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/zabbix/sensors.conf -%{_sysconfdir}/zabbix/zabbix_agentd.conf.d/* -%{_sysconfdir}/sudoers.d/* +%config(noreplace) %attr(0640,root,zabbix) %{_sysconfdir}/zabbix/sensors.conf +%config(noreplace) %attr(0640,root,zabbix) %{_sysconfdir}/zabbix/zabbix_agentd.conf.d/* +%attr(0600,root,root) %{_sysconfdir}/sudoers.d/* %changelog * Mon Apr 15 2013 Daniel B. - 0.0.1-1