https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280099
--- Comment #10 from commit-h...@freebsd.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=6a7238fd7c60f35191eadaa026d3d395c6140c47 commit 6a7238fd7c60f35191eadaa026d3d395c6140c47 Author: Kyle Evans <kev...@freebsd.org> AuthorDate: 2024-12-01 19:05:57 +0000 Commit: Kyle Evans <kev...@freebsd.org> CommitDate: 2024-12-01 19:08:31 +0000 pw: set the user's home directory mode if it existed The adduser(8) prompt allows one to set the mode of a new home directory, but pw(8) doesn't honor the -M mode if the home directory already exists at creation time. It doesn't seem to make sense to ignore the mode (which may lead to a security issue on the system being configured) when we'll happily chown an existing directory, so fix the inconsistency. PR: 280099 Reviewed by: des, jlduran (previous version) Differential Revision: https://reviews.freebsd.org/D46443 usr.sbin/adduser/adduser.8 | 6 ++++-- usr.sbin/pw/cpdir.c | 27 +++++++++++++++++++++------ 2 files changed, 25 insertions(+), 8 deletions(-) -- You are receiving this mail because: You are the assignee for the bug.