Page MenuHomeFreeBSD

pw: Add a missing chown() when creating dirs in mkdir_home_parents()
ClosedPublic

Authored by markj on Sep 16 2025, 8:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 13, 12:20 AM
Unknown Object (File)
Wed, May 13, 12:20 AM
Unknown Object (File)
Wed, May 13, 12:16 AM
Unknown Object (File)
Wed, May 13, 12:15 AM
Unknown Object (File)
Wed, May 13, 12:15 AM
Unknown Object (File)
Fri, Apr 24, 5:32 PM
Unknown Object (File)
Thu, Apr 23, 5:19 AM
Unknown Object (File)
Wed, Apr 22, 5:29 PM
Subscribers

Details

Summary

mkdir_home_parents() effectively performs a mkdir -p of the root home
directory. It chowns the home directory to 0, 0, but doesn't do so for
the intermediate directories. Add an explicit chown() call for those
too.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable