Page MenuHomeFreeBSD

pw: Test home directory ownership and mode.
ClosedPublic

Authored by des on May 6 2024, 1:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jun 9, 12:14 PM
Unknown Object (File)
May 2 2026, 10:23 AM
Unknown Object (File)
Apr 29 2026, 2:28 AM
Unknown Object (File)
Apr 29 2026, 2:24 AM
Unknown Object (File)
Apr 28 2026, 12:55 PM
Unknown Object (File)
Apr 27 2026, 7:29 PM
Unknown Object (File)
Apr 25 2026, 3:57 PM
Unknown Object (File)
Apr 23 2026, 5:45 PM
Subscribers
None

Details

Summary

MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

des requested review of this revision.May 6 2024, 1:57 PM
des created this revision.

This is sort of tangential, and it wouldn't have caught the adduser bug, but I noticed that while several existing test cases verify the existence of the home directory after pw -m, none of them verify its ownership or permissions.

Seems like a good idea. I don't know atf usage well though.

This revision is now accepted and ready to land.May 6 2024, 3:53 PM
This revision was automatically updated to reflect the committed changes.