[Bug 280099] adduser not respecting home directory mode

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 01 Dec 2024 19:11:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280099

--- Comment #11 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

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

commit f7cf62cf728a942e494a5b58438600998606617a
Author:     Jose Luis Duran <jlduran@FreeBSD.org>
AuthorDate: 2024-12-01 19:05:58 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2024-12-01 19:10:35 +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

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

-- 
You are receiving this mail because:
You are the assignee for the bug.