Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Mon, 28 Mar 2022 19:48:07
Message-Id: 1648496831.83e510378a6ae9906da52b0c276319f87d490593.ulm@gentoo
1 commit: 83e510378a6ae9906da52b0c276319f87d490593
2 Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
3 AuthorDate: Sun Oct 2 10:32:23 2016 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 28 19:47:11 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83e51037
7
8 fcaps.eclass: Use UID 0 instead of root
9
10 Bug: https://bugs.gentoo.org/595908
11 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
12
13 eclass/fcaps.eclass | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16 diff --git a/eclass/fcaps.eclass b/eclass/fcaps.eclass
17 index 93aa7cd5928d..8ed27429c938 100644
18 --- a/eclass/fcaps.eclass
19 +++ b/eclass/fcaps.eclass
20 @@ -83,7 +83,7 @@ esac
21 #
22 # If the system is unable to set capabilities, it will use the specified user,
23 # group, and mode (presumably to make the binary set*id). The defaults there
24 -# are root:0 and 4711. Otherwise, the ownership and permissions will be
25 +# are 0:0 and 4711. Otherwise, the ownership and permissions will be
26 # unchanged.
27 fcaps() {
28 debug-print-function ${FUNCNAME} "$@"
29 @@ -94,7 +94,7 @@ fcaps() {
30 fi
31
32 # Process the user options first.
33 - local owner='root'
34 + local owner='0'
35 local group='0'
36 local mode='4711'
37 local caps_mode='711'