diff options
| author | Michael Osipov <michaelo@FreeBSD.org> | 2026-01-28 18:49:26 +0000 |
|---|---|---|
| committer | Michael Osipov <michaelo@FreeBSD.org> | 2026-02-15 11:17:22 +0000 |
| commit | 6ce85d64d0594ce540c92fddfb89065c13546f23 (patch) | |
| tree | f5f70305e480cb3d622676033fe9673aade75a12 /stand/common/zfs_cmd.c | |
| parent | 74e3453b90512fb0777dfcd4f0150ff41ba28ad1 (diff) | |
daemon: Add option for output file modestable/13
The daemon utility has always created its output file with a fixed mode
of 0600. This causes issues for log collection setups where the collector
does not run as root but instead relies on group access to the watched
daemon’s log file.
Introduce a new option that allows specifying the output file mode using
install(1)-style semantics. This enables non-root log collectors to access
the file as intended and improves compatibility with log rotation tools.
Reviewed by: kevans
MFC after: 1 week
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D54930
(cherry picked from commit a3b90a1f008365d9f62773998f89f9c872e2bed5)
Diffstat (limited to 'stand/common/zfs_cmd.c')
0 files changed, 0 insertions, 0 deletions
