HomeFreeBSD

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

Description

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

Details

Provenance
jlduranAuthored on Dec 1 2024, 7:05 PM
kevansCommitted on Dec 1 2024, 7:10 PM
Parents
rG6a7238fd7c60: pw: set the user's home directory mode if it existed
Branches
Unknown
Tags
Unknown