Date: Mon, 11 Dec 2023 14:19:14 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 275698] net-mgmt/icinga2: Wrong file permissions Message-ID: <bug-275698-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275698 Bug ID: 275698 Summary: net-mgmt/icinga2: Wrong file permissions Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: easy Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: joneum@FreeBSD.org Reporter: gyptazy@gyptazy.ch Assignee: joneum@FreeBSD.org Flags: maintainer-feedback?(joneum@FreeBSD.org) Running the command `icinga2 node wizard` from the port/pkg 'icinga2' resul= ts in the following error message: critical/Application: Error: boost::filesystem::copy_file: Permission denie= d: "/usr/local/etc/icinga2/features-available/api.conf", "/usr/local/etc/icinga2/features-available/api.conf.orig" This is caused by wrong permissions in '/usr/local/etc/icinga2/' where the files should be owned by icinga:icinga (take care about the missing version here). You can be fixed this by running the following command: $> chown -R icinga:icinga /usr/local/etc/icinga2/* Afterwards, simply rerun the `icinga2 node wizard` command or just do it be= fore running this. This is only affected when the icinga user wants to (re)write/update the configuration files like it's done by the 'node wizard' command. Cheers, gyptazy --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275698-7788>