[Pkg-nagios-changes] [SCM] UNNAMED PROJECT branch, master, updated. 0c3827aca406859bd5d5512224a0c0a3cfa685d2

Bernd Zeimetz bernd at bzed.de
Fri Nov 11 20:23:42 UTC 2011


The following commit has been merged in the master branch:
commit 571007f1cd78ae64815d2667008ecc858d991f16
Author: Bernd Zeimetz <bernd at bzed.de>
Date:   Thu Nov 10 09:54:33 2011 +0100

    /var/lib/check_mk/autochecks/ should be owned by nagios, too.

diff --git a/debian/check-mk-server.postinst b/debian/check-mk-server.postinst
index 13a8219..091f8b4 100644
--- a/debian/check-mk-server.postinst
+++ b/debian/check-mk-server.postinst
@@ -27,6 +27,8 @@ case "$1" in
 		#fix permissions for some directorys
 		test -d /var/lib/check_mk/cache || mkdir -p /var/lib/check_mk/cache
 		setperm nagios nagios 0750 /var/lib/check_mk/cache
+		test -d /var/lib/check_mk/autochecks || mkdir -p /var/lib/check_mk/autochecks
+		setperm nagios nagios 0750 /var/lib/check_mk/autochecks
 		test -d /var/lib/check_mk/counters/ || mkdir -p /var/lib/check_mk/counters/
 		setperm nagios nagios 0750 /var/lib/check_mk/counters/
 		test -d /var/lib/check_mk/logwatch/ || mkdir -p /var/lib/check_mk/logwatch/

-- 
UNNAMED PROJECT



More information about the Pkg-nagios-changes mailing list