[Bug 272552] Fix /var/log/messages and /var/run/dmesg.boot permissions

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 17 Jul 2023 22:34:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272552

--- Comment #2 from Yuri Pankov <yuripv@FreeBSD.org> ---
I don't think this is about user being in wheel and rather about
security.bsd.unprivileged_read_msgbuf set to 0?

$ sysctl security.bsd.unprivileged_read_msgbuf
security.bsd.unprivileged_read_msgbuf: 0
$ groups
staff wheel operator
$ dmesg
dmesg: sysctl kern.msgbuf: Operation not permitted

May be relevant option in the installer should apply the permissions as well?

-- 
You are receiving this mail because:
You are the assignee for the bug.