|
@@ -0,0 +1,35 @@
+--- app/modules/Api/config/access.xml.in.orig 2011-09-11 14:29:57.885530821 +0200
++++ app/modules/Api/config/access.xml.in 2011-09-11 14:31:50.405132524 +0200
+@@ -24,7 +24,7 @@
+ <!-- allowed to read to and from -->
+ <readwrite>
+ <folders>
+- <resource name="icinga_objects">/usr/local/icinga/etc/objects</resource>
++ <resource name="icinga_objects">/etc/icinga/objects</resource>
+ </folders>
+ <files>
+ <!-- <resource name="icinga_cfg">/usr/local/icinga/etc/icinga.cfg</resource>-->
+@@ -36,7 +36,7 @@
+ <!-- allowed to be written to -->
+ <write>
+ <files>
+- <resource name="icinga_pipe">/usr/local/icinga/var/rw/icinga.cmd</resource>
++ <resource name="icinga_pipe">@api_cmd_file@</resource>
+ </files>
+ </write>
+ <!-- allowed to be executed -->
+@@ -44,12 +44,12 @@
+ <files>
+ <resource name="icinga_service">/etc/init.d/icinga</resource>
+
+- <resource name="icinga_bin">/usr/local/icinga/bin/icinga</resource>
++ <resource name="icinga_bin">/usr/sbin/icinga</resource>
+ <resource name="echo">/bin/echo</resource>
+ <resource name="printf">printf</resource>
+ <resource name="cp">/bin/cp</resource>
+ <resource name="ls">/bin/ls</resource>
+- <resource name="grep">/bin/grep</resource>
++ <resource name="grep">/usr/bin/grep</resource>
+ </files>
+ </execute>
+ </access>
|