[Pkg-nagios-changes] [SCM] debian packaging of icinga(-core) branch, master, updated. b12a6837c3e8ad83a84eaa571b281b21b73c7377
Alexander Wirt
formorer at debian.org
Sat Mar 27 08:34:31 UTC 2010
The following commit has been merged in the master branch:
commit ea2e863ee7c590ed2a3a355690ac99001cb99c2e
Author: Alexander Wirt <formorer at debian.org>
Date: Sat Mar 27 09:18:53 2010 +0100
Permissions are done by icinga-common
diff --git a/debian/icinga-cgi.postinst b/debian/icinga-cgi.postinst
index d645c9e..ad1e5e5 100644
--- a/debian/icinga-cgi.postinst
+++ b/debian/icinga-cgi.postinst
@@ -69,18 +69,6 @@ case "$1" in
htpasswd -b "$htpw" icingaadmin "$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/icinga
- setperm nagios adm 2751 /var/log/icinga/archives
- setperm nagios nagios 0750 /var/run/icinga
- setperm nagios nagios 0750 /var/lib/icinga
- setperm nagios nagios 0750 /var/lib/icinga/spool
- setperm nagios nagios 0750 /var/lib/icinga/spool/checkresults
- setperm nagios www-data 02750 /var/cache/icinga
- setperm nagios www-data 0700 /var/lib/icinga/rw
-
# everything went well, so now let's reset the password
db_set icinga/adminpassword ""
db_set icinga/adminpassword-repeat ""
--
debian packaging of icinga(-core)
More information about the Pkg-nagios-changes
mailing list