Icinga 2 directories should belong to the Icinga user.

Fixes #4831
This commit is contained in:
Gunnar Beutner 2013-10-10 11:22:45 +02:00
parent 9d967f868c
commit ac9d1d0b1a
1 changed files with 3 additions and 3 deletions

View File

@ -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