[Bug 258365] security/logcheck: incorrect permissions on /usr/local/etc/logcheck
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258365] security/logcheck: incorrect permissions on /usr/local/etc/logcheck"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258365] security/logcheck: incorrect permissions on /usr/local/etc/logcheck"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258365] security/logcheck: incorrect permissions on /usr/local/etc/logcheck"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258365] security/logcheck: incorrect permissions on /usr/local/etc/logcheck"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258365] security/logcheck: incorrect permissions on /usr/local/etc/logcheck"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258365] security/logcheck: incorrect permissions on /usr/local/etc/logcheck"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 08 Sep 2021 12:38:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258365
Bug ID: 258365
Summary: security/logcheck: incorrect permissions on
/usr/local/etc/logcheck
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: dvl@FreeBSD.org
CC: yasu@utahime.org
Flags: maintainer-feedback?(yasu@utahime.org)
CC: yasu@utahime.org
This affects new installs only. It does not affect existing installs which are
upgraded.
The problem: missing chgrp on /usr/local/etc/logcheck and several
subdirectories
When logcheck runs, the errors are:
ls: /usr/local/etc/logcheck/cracking.d: Permission denied
ls: /usr/local/etc/logcheck/violations.d: Permission denied
ls: /usr/local/etc/logcheck/violations.ignore.d: Permission denied
ls: /usr/local/etc/logcheck/ignore.d.server: Permission denied
ls: /usr/local/etc/logcheck/ignore.d.paranoid: Permission denied
Looking in the directory, we find:
[root@nginx01:/usr/local/etc/logcheck] $ ls -l
total 122
drwxr-x--- 2 root wheel 8 Sep 8 12:24 cracking.d
drwxr-x--- 2 root wheel 17 Sep 8 12:24 ignore.d.paranoid
drwxr-x--- 2 root wheel 141 Sep 8 12:24 ignore.d.server
drwxr-x--- 2 root wheel 38 Sep 8 12:24 ignore.d.workstation
-rw-r----- 1 root logcheck 1121 Sep 7 21:07 logcheck.conf
-rw-r--r-- 1 root logcheck 3092 Aug 10 04:34 logcheck.conf.sample
-rw-r----- 1 root logcheck 150 Sep 7 21:07 logcheck.logfiles
-rw-r--r-- 1 root logcheck 133 Aug 10 04:34 logcheck.logfiles.sample
drwxr-x--- 2 root wheel 7 Sep 8 12:24 violations.d
drwxr-x--- 2 root wheel 5 Sep 8 12:24 violations.ignore.d
Also:
[root@nginx01:/usr/local/etc/logcheck] $ ls -ld .
drwxr-xr-x 8 root wheel 12 Sep 8 12:24 .
Looking at the port, I cannot find the cause yet.
--
You are receiving this mail because:
You are the assignee for the bug.