mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-02 12:53:33 +00:00
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 a6ed8c9593
)
This commit is contained in:
parent
1bb2a24023
commit
1023abd5b6
@ -11,6 +11,7 @@ CONFGROUPS= ETC ROOT
|
||||
ETC= csh.cshrc csh.login csh.logout
|
||||
ROOT= dot.cshrc dot.login
|
||||
ROOTDIR= /root
|
||||
ROOTDIR_MODE= 0750
|
||||
ROOTNAME_dot.cshrc= .cshrc
|
||||
ROOTNAME_dot.login= .login
|
||||
PACKAGE=runtime
|
||||
|
@ -6,6 +6,7 @@ CONFGROUPS= ETC ROOT
|
||||
ETC= profile
|
||||
ROOT= dot.shrc dot.profile
|
||||
ROOTDIR= /root
|
||||
ROOTDIR_MODE= 0750
|
||||
ROOTNAME_dot.shrc= .shrc
|
||||
ROOTNAME_dot.profile= .profile
|
||||
PACKAGE=runtime
|
||||
|
Loading…
Reference in New Issue
Block a user