]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix /root permissions after 'make installworld'
authorThomas Eberhardt <sneakywumpus@gmail.com>
Thu, 16 Nov 2023 09:59:38 +0000 (10:59 +0100)
committerGordon Bergling <gbe@FreeBSD.org>
Thu, 16 Nov 2023 09:59:38 +0000 (10:59 +0100)
commita6ed8c9593031abf6fa73661be55c226caa362d6
treeca79d26bf9593dd944a78cb95cdd46622ded0b79
parent54611b7cc69cee34e7bcdc2324a9159e7543a125
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
bin/csh/Makefile
bin/sh/Makefile