From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 01CAE15808B for ; Mon, 28 Mar 2022 19:48:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A96A2E0974; Mon, 28 Mar 2022 19:48:05 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 18F8BE097B for ; Mon, 28 Mar 2022 19:48:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B192A341300 for ; Mon, 28 Mar 2022 19:48:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E410A33F for ; Mon, 28 Mar 2022 19:48:01 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1648496836.12a54e0eeefa9f2d80cf7eb57b1736134acad7e8.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/qmail.eclass X-VCS-Directories: eclass/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 12a54e0eeefa9f2d80cf7eb57b1736134acad7e8 X-VCS-Branch: master Date: Mon, 28 Mar 2022 19:48:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 24b4e83a-5b1b-4f96-ba03-297f61f7e0fb X-Archives-Hash: b0a1de6f261b182346cd9068ded25e90 commit: 12a54e0eeefa9f2d80cf7eb57b1736134acad7e8 Author: Ulrich Müller gentoo org> AuthorDate: Sat Mar 26 09:25:07 2022 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Mon Mar 28 19:47:16 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12a54e0e qmail.eclass: Use UID 0 instead of root Bug: https://bugs.gentoo.org/595908 Signed-off-by: Ulrich Müller gentoo.org> eclass/qmail.eclass | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/eclass/qmail.eclass b/eclass/qmail.eclass index 33157b7e7871..471f2fe7ce5e 100644 --- a/eclass/qmail.eclass +++ b/eclass/qmail.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: qmail.eclass @@ -133,7 +133,7 @@ qmail_base_install() { # subshell to not leak the install options ( einfo "Setting up basic directory hierarchy" - diropts -o root -g qmail + diropts -o 0 -g qmail dodir "${QMAIL_HOME}"/bin keepdir "${QMAIL_HOME}"/{control,users} diropts -o alias -g qmail @@ -145,7 +145,7 @@ qmail_base_install() { einfo "Installing all qmail software" exeinto "${QMAIL_HOME}"/bin - exeopts -o root -g qmail + exeopts -o 0 -g qmail doexe bouncesaying condredirect config-fast datemail except forward maildir2mbox \ maildirmake mailsubj predate preline qbiff \ qmail-{inject,qmqpc,qmqpd,qmtpd,qread,qstat,smtpd,tcpok,tcpto,showctl} \ @@ -158,11 +158,11 @@ qmail_base_install() { use pop3 && doexe qmail-pop3d - exeopts -o root -g qmail -m 711 + exeopts -o 0 -g qmail -m 711 doexe qmail-{clean,getpw,local,pw2u,remote,rspawn,send} splogger use pop3 && doexe qmail-popup - exeopts -o root -g qmail -m 700 + exeopts -o 0 -g qmail -m 700 doexe qmail-{lspawn,newmrh,newu,start} exeopts -o qmailq -g qmail -m 4711 @@ -262,7 +262,7 @@ qmail_supervise_install_one() { dosupervise ${1} # subshell to not leak the install options ( - diropts -o qmaill -g root + diropts -o qmaill -g 0 keepdir /var/log/qmail/${1} ) }