Fix permissions for /etc/icinga2 in the Debian package

refs #7380
This commit is contained in:
Gunnar Beutner 2014-10-24 15:01:12 +02:00
parent 0d8509cfa5
commit d3c9e052e9
1 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,8 @@ case "$1" in
# explicitly set permissions on some files that are dependent # explicitly set permissions on some files that are dependent
# on the uid/gid of the nagios user, which is dynamically created. # 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
setperm nagios adm 2751 /var/log/icinga2/compat setperm nagios adm 2751 /var/log/icinga2/compat
setperm nagios adm 2755 /var/log/icinga2/compat/archives setperm nagios adm 2755 /var/log/icinga2/compat/archives