public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] repo/gentoo:master commit in: eclass/
@ 2022-03-28 19:48 99% Ulrich Müller
  0 siblings, 0 replies; 1+ results
From: Ulrich Müller @ 2022-03-28 19:48 UTC (permalink / raw
  To: gentoo-commits

commit:     12a54e0eeefa9f2d80cf7eb57b1736134acad7e8
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 26 09:25:07 2022 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> 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 <ulm <AT> 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}
 	)
 }


^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2022-03-28 19:48 99% [gentoo-commits] repo/gentoo:master commit in: eclass/ Ulrich Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox