Page MenuHomeFreeBSD

nanobsd: Change the mode in tgt_dir2symlink()
Needs ReviewPublic

Authored by jlduran on Feb 7 2026, 7:11 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Mar 25, 6:41 AM
Unknown Object (File)
Sun, Mar 22, 11:43 PM
Unknown Object (File)
Mon, Mar 9, 5:53 PM
Unknown Object (File)
Feb 28 2026, 8:45 AM
Unknown Object (File)
Feb 27 2026, 10:28 PM
Unknown Object (File)
Feb 16 2026, 7:29 PM
Unknown Object (File)
Feb 15 2026, 1:17 AM
Unknown Object (File)
Feb 12 2026, 1:18 AM
Subscribers
None
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Actually change the directory's mode. While it is enforced in the final
image via the METALOG, the directory under $NANO_WORLDDIR should also be
updated.

This is especially important when using $NANO_WORLDDIR as the mountpoint
for a null-mounted poudriere jail, since var/tmp must be world-writable
for poudriere bulk to succeed.

Fixes: 6eccd84bee75 ("nanobsd: Make tgt_dir2symlink() take a mode")

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

jlduran created this revision.