diff options
-rw-r--r-- | net-analyzer/icinga2/icinga2-9999.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net-analyzer/icinga2/icinga2-9999.ebuild b/net-analyzer/icinga2/icinga2-9999.ebuild index b2d610c7c413..da2f2e0ac156 100644 --- a/net-analyzer/icinga2/icinga2-9999.ebuild +++ b/net-analyzer/icinga2/icinga2-9999.ebuild @@ -105,11 +105,13 @@ src_install() { rm -r "${D}/run" || die "failed to remove /run" rm -r "${D}/var/cache" || die "failed to remove /var/cache" - fowners root:icinga /etc/icinga2 + fowners -R icinga:icinga /etc/icinga2 fperms 0750 /etc/icinga2 fowners icinga:icinga /var/lib/icinga2 - fowners icinga:icinga /var/spool/icinga2 fowners -R icinga:icingacmd /var/lib/icinga2/api + fowners -R icinga:icingacmd /var/lib/icinga2/certificate-requests + fowners -R icinga:icingacmd /var/lib/icinga2/certs + fowners icinga:icinga /var/spool/icinga2 fowners icinga:icinga /var/spool/icinga2/perfdata fowners icinga:icingacmd /var/log/icinga2 |