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)
Fri, Mar 13, 2:34 PM
Unknown Object (File)
Fri, Mar 13, 2:31 PM
Unknown Object (File)
Mon, Mar 9, 7:47 PM
Unknown Object (File)
Sat, Mar 7, 1:51 PM
Unknown Object (File)
Fri, Mar 6, 10:57 AM
Unknown Object (File)
Fri, Mar 6, 12:36 AM
Unknown Object (File)
Wed, Mar 4, 4:01 AM
Unknown Object (File)
Tue, Feb 24, 9:52 AM
Subscribers
None

Details

Summary

MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 57596
Build 54484: arc lint + arc unit

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.