diff --git a/icinga2.spec.in b/icinga2.spec.in index 48d1add66..38908614e 100644 --- a/icinga2.spec.in +++ b/icinga2.spec.in @@ -200,12 +200,12 @@ fi %exclude %{_datadir}/%{name}/itl %{_mandir}/man8/%{name}.8.gz -%{_localstatedir}/cache/%{name} +%attr(0750,%{icinga_user},%{icinga_group}) %{_localstatedir}/cache/%{name} %attr(0750,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/log/%{name} %attr(0750,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/log/%{name}/compat %attr(0750,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/log/%{name}/compat/archives -%{_localstatedir}/run/%{name} -%{_localstatedir}/lib/%{name} +%attr(0750,%{icinga_user},%{icinga_group}) %{_localstatedir}/run/%{name} +%attr(0750,%{icinga_user},%{icinga_group}) %{_localstatedir}/lib/%{name} %attr(2755,%{icinga_user},%{icingacmd_group}) %{_localstatedir}/run/icinga2/cmd