Bug 216897 - pw(8): make the mode for logfile, etc configurable
Summary: pw(8): make the mode for logfile, etc configurable
Status: In Progress
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: Sofian Brabez
URL: https://reviews.freebsd.org/D24395
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-08 00:05 UTC by Enji Cooper
Modified: 2024-01-20 22:29 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enji Cooper freebsd_committer freebsd_triage 2017-02-08 00:05:33 UTC
$work has a patch to pw(8) for setting the mode from 0600 for logfiles to 0660 hardcoded in usr.sbin/pw/pw_log.c. There's no reason why this could/shouldn't be controlled in /etc/pw.conf though -- defaulting to 0600.
Comment 1 Sofian Brabez freebsd_committer freebsd_triage 2020-04-13 10:24:14 UTC
Hey ngie@,

I have created the following review in order to add the new keyword logmode
 
https://reviews.freebsd.org/D24395
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2024-01-20 22:29:56 UTC
(In reply to Sofian Brabez from comment #1)
Note that as of 20240120, the DR is still in "needs revision".