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)
Wed, Aug 12, 4:32 PM
Unknown Object (File)
Wed, Aug 12, 1:09 PM
Unknown Object (File)
Mon, Aug 10, 6:01 AM
Unknown Object (File)
Sat, Aug 8, 2:01 AM
Unknown Object (File)
Sun, Aug 2, 6:06 AM
Unknown Object (File)
Sun, Aug 2, 2:53 AM
Unknown Object (File)
Sat, Aug 1, 4:35 AM
Unknown Object (File)
Sat, Aug 1, 12:06 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.