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

(cherry picked from commit a6ed8c9593031abf6fa73661be55c226caa362d6)

Details

Provenance
Thomas Eberhardt <sneakywumpus@gmail.com>Authored on Nov 16 2023, 9:59 AM
gbeCommitted on Dec 1 2023, 7:15 AM
Reviewer
jilles
Differential Revision
D42395: Fix /root permissions after 'make installworld'
Parents
rGf23f9941f149: aio_read.2: correct the description of aio_buf
Branches
Unknown
Tags
Unknown