From f3ed85171e90f8e6962ab0b37de9d8bcd89abdc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Aleksandrovi=C4=8D=20Klimov?= Date: Mon, 16 Sep 2024 16:13:02 +0200 Subject: [PATCH] Linux Dev Environment: fix /usr/local/icinga2/etc ownership We instruct the users to build as root and chown just /usr/local/icinga2/var, but at least `icinga2 api setup` also needs to modify /usr/local/icinga2/etc. --- doc/21-development.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/21-development.md b/doc/21-development.md index cf7a54dd7..5b597cf18 100644 --- a/doc/21-development.md +++ b/doc/21-development.md @@ -1423,7 +1423,7 @@ The source installation doesn't set proper permissions, this is handled in the package builds which are officially supported. ```bash -chown -R icinga:icinga /usr/local/icinga2/var/ +chown -R icinga:icinga /usr/local/icinga2/{etc,var}/ /usr/local/icinga2/lib/icinga2/prepare-dirs /usr/local/icinga2/etc/sysconfig/icinga2 /usr/local/icinga2/sbin/icinga2 api setup @@ -1476,7 +1476,7 @@ The source installation doesn't set proper permissions, this is handled in the package builds which are officially supported. ```bash -chown -R icinga:icinga /usr/local/icinga2/var/ +chown -R icinga:icinga /usr/local/icinga2/{etc,var}/ /usr/local/icinga2/lib/icinga2/prepare-dirs /usr/local/icinga2/etc/sysconfig/icinga2 /usr/local/icinga2/sbin/icinga2 api setup @@ -1540,7 +1540,7 @@ The source installation doesn't set proper permissions, this is handled in the package builds which are officially supported. ```bash -chown -R icinga:icinga /usr/local/icinga2/var/ +chown -R icinga:icinga /usr/local/icinga2/{etc,var}/ /usr/local/icinga2/lib/icinga2/prepare-dirs /usr/local/icinga2/etc/sysconfig/icinga2 /usr/local/icinga2/sbin/icinga2 api setup