HomeFreeBSD

pw: do not removed home directories if not owned

Description

pw: do not removed home directories if not owned

When deleting a user, if its home directory does not belong to it, it should
not be removed. This is the promise that the manpage makes, the tool should
ensure that it respects that promise.

Add a regression test about it

PR: 244967
Submitted by: Eric Hanneken <eric@erichanneken.com>
MFC after: 3 days

Details

Provenance
baptAuthored on
Parents
rS359231: Use a GCC-compatile compiler flag in files.xlp
Branches
Unknown
Tags
Unknown