From nobody Fri Dec 1 07:16:09 2023 X-Original-To: dev-commits-src-branches@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 4ShPVf0tvbz52BrM; Fri, 1 Dec 2023 07:16:10 +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 4ShPVd74Qxz3g1Y; Fri, 1 Dec 2023 07:16:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701414970; 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=hM6nCiauPmJihVX6MMESpl3xyz/aJvUdru+4/LXGgiU=; b=I4SjzywO7Ic4DtdqGsLks6qKIY3vQfajtj59wYO2pK2u2qftcbrRgGXq6FEuLgSEaWlhxA EFXhH5bNnnk3hKgedXRU8H/0FGHkM8/ZHFIDA1UlqQLXL4PWvxR4hvkKp0AIWknKg0Oelt KmwBDxcqeMeKSQGk5TKgtD3aJqXHmbvzxNs3kL7FkifPct7/AbO5J5KKtyLobSiUzxVN6N K9g1veCzxwYvV6dR5zEQo3YrPaMj/snvtnhhMHpCL89dOJHPYOfwbIMQyHSCdrw3u78NKL sMxNnNGLCoiD0D0kDwoWo4wHOGGW0ZESxze4ZnkCtpUIYz3dZQJDJ3otOc7C2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701414970; 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=hM6nCiauPmJihVX6MMESpl3xyz/aJvUdru+4/LXGgiU=; b=o1+jgqyhIj8lwxkCwL07IsvK+BeApVMClcM0n19JIE50wdsDIQ3Z0IOO6QkRF5/qAnJv6C HQnvHZmwzboL64eo5afK75Q0esdp8kzvQHNCMRBzQIH3gGbJpiCEiej95PYJ4jmrXJ6Sk2 PSlxxTkWdFFTK1pDEOmgU6Ex4ziWJqPf3iP+7WARbqWUCKlFhN6v2YFEARw7TWn9h6hCI8 hiobT6nc/RBbgrCjfBYrOmuXCKD7GVms2awIwtCThAfpjrRFRuDiGw3uvGGfxuPGsHdsXo QWxgecLrcTi0tsFuPsPf9dm30bAUmqt5LDJph6VuG68dU/dkvOCRMdQZxFbGKA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701414970; a=rsa-sha256; cv=none; b=gfW4yZNUe0BjXF0eJcHxyGwMpe7FXWGPyzXPwMNH6QwTBZrijxlw4GcNvlOZtG+/5vkogh +L0556MFXfm2nB0SDVJwF4AOGXqANO13uQB+iC0+E4jlixLx1VQBGyPvidDcBUmQC9JedF kFfm+bRi4P2l7MnKfhxVbh0AXqN/D+DSiOyHohPwyB+K4md+9e3ZDQTzRr5rWemWn4DkDO By4UkJMliWUFvQP/PQnp2aQ+CSRyeQWe9F6zfJt0Fm7wjqxFEdmeaoZTsKIQIF8iuvjuh3 JHWqtnqpq5bWHShOngUchgmairZvm9r4IFKMbdUfN9N+GfAFlFZVsYxPoIRktw== 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 4ShPVd65sxz90Y; Fri, 1 Dec 2023 07:16:09 +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 3B17G9G4027213; Fri, 1 Dec 2023 07:16:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3B17G9K8027210; Fri, 1 Dec 2023 07:16:09 GMT (envelope-from git) Date: Fri, 1 Dec 2023 07:16:09 GMT Message-Id: <202312010716.3B17G9K8027210@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: c9ceff3c1fa6 - stable/14 - Fix /root permissions after 'make installworld' List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/14 X-Git-Reftype: branch X-Git-Commit: c9ceff3c1fa6854627427235db4e9c6a7c583965 Auto-Submitted: auto-generated The branch stable/14 has been updated by gbe: URL: https://cgit.FreeBSD.org/src/commit/?id=c9ceff3c1fa6854627427235db4e9c6a7c583965 commit c9ceff3c1fa6854627427235db4e9c6a7c583965 Author: Thomas Eberhardt AuthorDate: 2023-11-16 09:59:38 +0000 Commit: Gordon Bergling CommitDate: 2023-12-01 07:15:25 +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 1f996df3999b..94e1ba763d6e 100644 --- a/bin/csh/Makefile +++ b/bin/csh/Makefile @@ -15,6 +15,7 @@ ROOTPACKAGE= csh 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 TCSHDIR= ${SRCTOP}/contrib/tcsh diff --git a/bin/sh/Makefile b/bin/sh/Makefile index f8c853cec6c7..48b6d2852444 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