[Pkg-nagios-changes] [pkg-icinga2] 09/15: Allow the nagios user to write to /etc/icinga2

Alexander Wirt formorer at debian.org
Thu Nov 20 13:22:57 UTC 2014


This is an automated email from the git hooks/post-receive script.

formorer pushed a commit to branch master
in repository pkg-icinga2.

commit 8dd43b4c3f3acd63d72377948179f21008c4f413
Author: Alexander Wirt <formorer at debian.org>
Date:   Thu Nov 20 09:35:44 2014 +0100

    Allow the nagios user to write to /etc/icinga2
---
 debian/icinga2-common.postinst | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/icinga2-common.postinst b/debian/icinga2-common.postinst
index 9855ed3..e4917e4 100644
--- a/debian/icinga2-common.postinst
+++ b/debian/icinga2-common.postinst
@@ -44,6 +44,8 @@ case "$1" in
 
         # explicitly set permissions on some files that are dependent
         # on the uid/gid of the nagios user, which is dynamically created.
+        setperm nagios nagios 0750 /etc/icinga2
+
         setperm nagios adm 2751 /var/log/icinga2
         setperm nagios adm 2751 /var/log/icinga2/compat
         setperm nagios adm 2755 /var/log/icinga2/compat/archives

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-icinga2.git



More information about the Pkg-nagios-changes mailing list