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, Nov 5, 7:06 PM
Unknown Object (File)
Wed, Nov 5, 7:38 AM
Unknown Object (File)
Wed, Nov 5, 4:47 AM
Unknown Object (File)
Wed, Nov 5, 2:35 AM
Unknown Object (File)
Sun, Nov 2, 3:32 PM
Unknown Object (File)
Fri, Oct 31, 6:32 AM
Unknown Object (File)
Wed, Oct 29, 2:41 PM
Unknown Object (File)
Wed, Oct 29, 12:55 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.