Created attachment 227352 [details] Patch file Set group of directories under ETCDIR properly. This fixes bug of previous commit f026865e514a.
From a poudriere testport ... -i root@13amd64-dvl:/usr/local/etc/logcheck # ls -l total 26 drwxr-x--- 2 root logcheck 384 Sep 19 13:30 cracking.d drwxr-x--- 2 root logcheck 960 Sep 19 13:30 ignore.d.paranoid drwxr-x--- 2 root logcheck 8064 Sep 19 13:30 ignore.d.server drwxr-x--- 2 root logcheck 2304 Sep 19 13:30 ignore.d.workstation -rw-r--r-- 1 root logcheck 3092 Sep 19 13:30 logcheck.conf -rw-r--r-- 1 root logcheck 3092 Sep 19 13:30 logcheck.conf.sample -rw-r--r-- 1 root logcheck 133 Sep 19 13:30 logcheck.logfiles -rw-r--r-- 1 root logcheck 133 Sep 19 13:30 logcheck.logfiles.sample drwxr-x--- 2 root logcheck 320 Sep 19 13:30 violations.d drwxr-x--- 2 root logcheck 128 Sep 19 13:30 violations.ignore.d root@13amd64-dvl:/usr/local/etc/logcheck # ls -ld . drwxr-xr-x 8 root wheel 640 Sep 19 13:30 . root@13amd64-dvl:/usr/local/etc/logcheck # Looks good to me.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=927ce5e7150f2e760a4701fa302b79e7736958c8 commit 927ce5e7150f2e760a4701fa302b79e7736958c8 Author: Dan Langille <dvl@FreeBSD.org> AuthorDate: 2021-09-19 15:04:34 +0000 Commit: Dan Langille <dvl@FreeBSD.org> CommitDate: 2021-09-19 15:06:04 +0000 security/logcheck: Set group of directories under ETCDIR properly This fixes bug of previous commit f026865e514a. PR: 257980 Reported by: Yasuhiro Kimura <yasu@utahime.org> (maintainer) security/logcheck/Makefile | 2 +- security/logcheck/pkg-plist | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)