From d3c9e052e9d7487f50830481c68697699e3e2933 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Fri, 24 Oct 2014 15:01:12 +0200 Subject: [PATCH] Fix permissions for /etc/icinga2 in the Debian package refs #7380 --- debian/icinga2-common.postinst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/icinga2-common.postinst b/debian/icinga2-common.postinst index 9855ed3d2..e1c6b49fd 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 -- 2.40.0