HomeFreeBSD

Fix /root permissions after 'make installworld'

Description

Fix /root permissions after 'make installworld'

According to /etc/mtree/BSD.root.dist /root should have
0750 permissions, but the build target 'make installworld'
changes these to 0755.

This is caused by the installation of the configuration
files of sh(1) and csh(1).

Correct this by specifying the correct default /root permissions.

PR: 273342
Reviewed by: jilles
Approved by: jilles
MFC after: 2 weeks
Differential Revision:https://reviews.freebsd.org/D42395

Details

Provenance
Thomas Eberhardt <sneakywumpus@gmail.com>Authored on Nov 16 2023, 9:59 AM
gbeCommitted on Nov 16 2023, 9:59 AM
Reviewer
jilles
Differential Revision
D42395: Fix /root permissions after 'make installworld'
Parents
rG54611b7cc69c: Document library types in the intro(3) manual page
Branches
Unknown
Tags
Unknown