summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2021-12-29 11:19:46 -0600
committerMatthew Thode <prometheanfire@gentoo.org>2021-12-29 11:19:46 -0600
commit9cd116618c6110a18eb9995a986f6c8aa63ce5ff (patch)
tree4fbb3dcfde16df261b5967a374ae1683d1b11eb2 /net-analyzer/icinga2
parentnet-analyzer/icinga2: update fowners to work with the install wizard (diff)
downloadgentoo-9cd116618c6110a18eb9995a986f6c8aa63ce5ff.tar.gz
gentoo-9cd116618c6110a18eb9995a986f6c8aa63ce5ff.tar.bz2
gentoo-9cd116618c6110a18eb9995a986f6c8aa63ce5ff.zip
net-analyzer/icinga2: update fowners to work with install wizard
Closes: https://bugs.gentoo.org/830228 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'net-analyzer/icinga2')
-rw-r--r--net-analyzer/icinga2/icinga2-2.13.2-r2.ebuild (renamed from net-analyzer/icinga2/icinga2-2.13.2-r1.ebuild)7
1 files changed, 4 insertions, 3 deletions
diff --git a/net-analyzer/icinga2/icinga2-2.13.2-r1.ebuild b/net-analyzer/icinga2/icinga2-2.13.2-r2.ebuild
index 17e94fe2b20f..4face498d405 100644
--- a/net-analyzer/icinga2/icinga2-2.13.2-r1.ebuild
+++ b/net-analyzer/icinga2/icinga2-2.13.2-r2.ebuild
@@ -111,13 +111,14 @@ 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
fperms ug+rwX,o-rwx /etc/icinga2
fperms ug+rwX,o-rwx /var/lib/icinga2