Update permissions in the spec file.

This commit is contained in:
Gunnar Beutner 2013-10-10 12:32:50 +02:00
parent 77dfa05d29
commit d827d470e8
2 changed files with 12 additions and 12 deletions

View File

@ -9,14 +9,14 @@ The recommended way of installing these standard plugins is to use your
distribution's package manager. For your convenience here is a list of package
names for some of the more popular operating systems/distributions:
OS/Distribution | Package Name | Installation Path
----------------|----------------|---------------------------
RHEL/CentOS | nagios-plugins | /usr/lib/nagios/plugins
Debian | nagios-plugins | /usr/lib/nagios/plugins
FreeBSD | nagios-plugins | /usr/local/libexec/nagios
OS X (MacPorts) | nagios-plugins | /opt/local/libexec
OS/Distribution | Package Name | Installation Path
-----------------------|--------------------|---------------------------
RHEL/CentOS (EPEL) | nagios-plugins-all | /usr/lib/nagios/plugins or /usr/lib64/nagios/plugins
Debian | nagios-plugins | /usr/lib/nagios/plugins
FreeBSD | nagios-plugins | /usr/local/libexec/nagios
OS X (MacPorts) | nagios-plugins | /opt/local/libexec
Depending on which directory your plugins are installed into you may need to
update the `plugindir` macro in your Icinga 2 configuration. This macro is used
by the service templates contained in the Icinga Template Library to determine
where to find the plugin binaries.
where to find the plugin binaries.

View File

@ -200,11 +200,11 @@ fi
%exclude %{_datadir}/%{name}/itl
%{_mandir}/man8/%{name}.8.gz
%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
%attr(0750,%{icinga_user},%{icinga_group}) %{_localstatedir}/run/%{name}
%attr(0751,%{icinga_user},%{icinga_group}) %{_localstatedir}/cache/%{name}
%attr(0751,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/log/%{name}
%attr(0751,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/log/%{name}/compat
%attr(0751,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/log/%{name}/compat/archives
%attr(0751,%{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