Created attachment 253605 [details] [PATCH] irc/ngircd: install sample with ngircd,ngircd,600 perms Patch attached
Why do you think it's good idea? For now started via rc.d script daemon ngircd can't edit config files, but can read. AFAIR, I did exactly that.
It's necessary due to the upstream issue I raised earlier: see https://github.com/ngircd/ngircd/pull/321. Project maintainer wants to maintain 0600 chmod, and if I don't install it this way, then running the daemon on freebsd as the 'ngircd' user will silently fail.
(In reply to Siva Mahadevan from comment #2) Maybe @sample(,ngircd,640) %%ETCDIR%%/ngircd.conf.sample than?
ping
Created attachment 254005 [details] [PATCH] irc/ngircd: install sample with ',ngircd,640' perms Updated the patch after testing and verifying that it runs successfully.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e65c3d3818f03a287ce8bc21b19ed2994f1e8fbd commit e65c3d3818f03a287ce8bc21b19ed2994f1e8fbd Author: Siva Mahadevan <me@svmhdvn.name> AuthorDate: 2024-10-04 21:59:48 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-10-04 21:59:48 +0000 irc/ngircd: Install config with read permissions for group Fixed run with default configuration after installation without the need to manually change the permissions for the configuration file. PR: 281538 irc/ngircd/Makefile | 1 + irc/ngircd/pkg-plist | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
Thanks.