[Pkg-nagios-changes] [SCM] Debian packaging for Nagios3 branch, master, updated. debian/3.2.3-3-5-g54e3dff

Alexander Wirt formorer at debian.org
Tue Feb 14 08:07:00 UTC 2012


The following commit has been merged in the master branch:
commit 54e3dffab607f9ff9f4e08ae7e6ccd378efa9d49
Author: Alexander Wirt <formorer at debian.org>
Date:   Tue Feb 14 09:06:01 2012 +0100

    Don't fix permissions in cgi postinst

diff --git a/debian/nagios3-cgi.postinst b/debian/nagios3-cgi.postinst
index 3dcea97..6bf16f8 100644
--- a/debian/nagios3-cgi.postinst
+++ b/debian/nagios3-cgi.postinst
@@ -102,18 +102,6 @@ case "$1" in
 		htpasswd -b "$htpw" nagiosadmin "$admpass"
 	fi
 
-	# explicitly set permissions on some files that are dependent
-	# on the uid/gid of the nagios user, which is dynamically created.
-        setperm root nagios 0640 $en/resource.cfg
-        setperm nagios adm 2751 /var/log/nagios3
-        setperm nagios adm 2751 /var/log/nagios3/archives
-        setperm nagios nagios 0750 /var/run/nagios3
-        setperm nagios nagios 0750 /var/lib/nagios3
-	setperm nagios nagios 0750 /var/lib/nagios3/spool
-	setperm nagios nagios 0750 /var/lib/nagios3/spool/checkresults
-        setperm nagios www-data 02750 /var/cache/nagios3
-        setperm nagios www-data 0700 /var/lib/nagios3/rw
-
 	# everything went well, so now let's reset the password
 	db_set nagios3/adminpassword ""
 	db_set nagios3/adminpassword-repeat ""

-- 
Debian packaging for Nagios3



More information about the Pkg-nagios-changes mailing list