Bug 216897 - pw(8): make the mode for logfile, etc configurable
Summary: pw(8): make the mode for logfile, etc configurable
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-08 00:05 UTC by Enji Cooper
Modified: 2017-02-08 00:05 UTC (History)
2 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 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.