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)
Aug 23 2025, 9:17 PM
Unknown Object (File)
Aug 8 2025, 1:07 AM
Unknown Object (File)
Aug 7 2025, 1:53 PM
Unknown Object (File)
Aug 5 2025, 2:59 AM
Unknown Object (File)
Jul 28 2025, 2:45 PM
Unknown Object (File)
Jul 23 2025, 8:20 PM
Unknown Object (File)
Jul 16 2025, 1:27 PM
Unknown Object (File)
Jul 16 2025, 2:54 AM
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.