From nobody Fri Dec 1 07:16:56 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ShPWY03L6z52Bd0; Fri, 1 Dec 2023 07:16:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ShPWX619Sz3gj7; Fri, 1 Dec 2023 07:16:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701415016; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AyTXPbtdsTA+aFUwotth00hd8dgN7h610yrrHzRCNLk=; b=o8rnHZwWvW/ofAJodD5eSs8Z76urhfEEMXZAyeUPEzQc3K0ZKIM3qR6w9mpDkXEb1+KCSE 6A5jh1VsRSgUr/hajLlPM2aFgmBjhicoDkZXRZ9mCzzWJTahYQMKe+6kAXgHCp+T0+RJ3R XQfe4IG/Z5wgHiqs3Oo2R9iNUqn65FcIS0MVrM3vgluqkxUQcoEwxgX54lWXSIvdxecY6j bKijYx0o9yMO1HTb86Oxt2q//yRM+tSmp+ogQUuj+BX1Hv6cbTHCDla9Ow/Y+iq3D8ca2+ /hfLxsBP1zEvWCwIdcqm9Qi4oGQblOe3gdQGZkjjkwteM+mde0hqXcDLWbfinQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701415016; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AyTXPbtdsTA+aFUwotth00hd8dgN7h610yrrHzRCNLk=; b=TOqTjyB6PZ5ZTg8G9c0cw5mLiQ5vbOWmkejwV/oyHouj6cWEnd5WchHuhy6cUfT94Q2TF+ ZhixdpVMFt33VIWFx1QzCs+P1uP1E8xAtYbxoR623s2JKRKV3XSxaMgIqTMu0OMLRozoqJ /wPU1XPEBNhfX08leeBvuRZmlkk2yC0YWLMurl5BwDcfuAoAWbc9aT+dOhXU8HFoJlj9BG fEiLNp/jkPQLXeI7IXgbKdydVmVs90I8QeI+LehZs9SL5S1EjNBXhjEOS3axCBm49HvNiv 9qelxig5JH6PvaGVS84+XnTt5TrSeNNLLIAB04Jo0J/QU7x9qbwiVyiWAUFY6g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701415016; a=rsa-sha256; cv=none; b=jsxVJHFcgHXIs04vI+Ml1e0UIda65WGfOji3JzpK9QTbOUdyMGwwzTH7dQwQPRksi7ocEi Dl0S4CbqCN4GlY/J5eb8SrARwZ+z+UvR737abj6b0nBqnpvTrlq4b8rXh3lryhzspRWyYQ idqgo1jVUy8ENHh29DaeiSiCjO6WbTqcqVTuHA7hiTzxpvmRlPVIfnwwQhyOJE0y0o1d9E VZ/mgpur+ICHP+p66Vfbdvt4Vx0M1oQrWFwfIXNK6qI9DH4wefkKvRmBld4oEyDiHkpBnh JbUgAmwo3ysBHICvTWXDIggH4vHQ/iKUXqNgok285F99+yq3T0wl4KkklSqKYg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ShPWX53txz8Zl; Fri, 1 Dec 2023 07:16:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3B17GuQG027481; Fri, 1 Dec 2023 07:16:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3B17Gusj027478; Fri, 1 Dec 2023 07:16:56 GMT (envelope-from git) Date: Fri, 1 Dec 2023 07:16:56 GMT Message-Id: <202312010716.3B17Gusj027478@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Gordon Bergling Subject: git: 1023abd5b60f - stable/13 - Fix /root permissions after 'make installworld' List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gbe X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 1023abd5b60f82360ea9f09b9af06dd30d6d8c18 Auto-Submitted: auto-generated The branch stable/13 has been updated by gbe: URL: https://cgit.FreeBSD.org/src/commit/?id=1023abd5b60f82360ea9f09b9af06dd30d6d8c18 commit 1023abd5b60f82360ea9f09b9af06dd30d6d8c18 Author: Thomas Eberhardt AuthorDate: 2023-11-16 09:59:38 +0000 Commit: Gordon Bergling CommitDate: 2023-12-01 07:16:38 +0000 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) --- bin/csh/Makefile | 1 + bin/sh/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/bin/csh/Makefile b/bin/csh/Makefile index d7049cf99918..d7d4ea8038fe 100644 --- a/bin/csh/Makefile +++ b/bin/csh/Makefile @@ -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 diff --git a/bin/sh/Makefile b/bin/sh/Makefile index e34471da8835..5f0138e693a0 100644 --- a/bin/sh/Makefile +++ b/bin/sh/Makefile @@ -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