[Bug 280099] adduser not respecting home directory mode

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 10 Dec 2024 23:38:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280099

--- Comment #12 from commit-hook@FreeBSD.org ---
A commit in branch stable/14 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=9aac1584c846cbb1dce638222ffc239ed712eb9b

commit 9aac1584c846cbb1dce638222ffc239ed712eb9b
Author:     Jose Luis Duran <jlduran@FreeBSD.org>
AuthorDate: 2024-12-01 19:05:58 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2024-12-10 23:05:51 +0000

    pw: tests: add a test for -M with a pre-existing home directory

    Previous versions of pw(8) wouldn't chmod the home directory if it
    already existed prior to user creation, rendering adduser(8) -M
    ineffective in some cases.  Add a test to cover that situation.

    PR:             280099
    Reviewed by:    kevans

    (cherry picked from commit f7cf62cf728a942e494a5b58438600998606617a)

 usr.sbin/pw/tests/pw_useradd_test.sh | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

-- 
You are receiving this mail because:
You are on the CC list for the bug.