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)
Thu, Oct 17, 10:22 PM
Unknown Object (File)
Oct 11 2024, 11:04 PM
Unknown Object (File)
Oct 7 2024, 9:29 PM
Unknown Object (File)
Oct 4 2024, 8:45 PM
Unknown Object (File)
Oct 3 2024, 10:10 AM
Unknown Object (File)
Oct 1 2024, 2:18 PM
Unknown Object (File)
Oct 1 2024, 11:23 AM
Unknown Object (File)
Sep 7 2024, 12:18 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.