[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: [gentoo-dev] [PATCH 1/9] fcaps.eclass: Use UID 0 instead of root
From: Ulrich Müller <ulm () gentoo ! org>
Date: 2022-03-27 7:27:27
Message-ID: 20220327072735.9719-2-ulm () gentoo ! org
[Download RAW message or body]
From: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Bug: https://bugs.gentoo.org/595908
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
---
eclass/fcaps.eclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/eclass/fcaps.eclass b/eclass/fcaps.eclass
index 93aa7cd5928d..8ed27429c938 100644
--- a/eclass/fcaps.eclass
+++ b/eclass/fcaps.eclass
@@ -83,7 +83,7 @@ esac
#
# If the system is unable to set capabilities, it will use the specified user,
# group, and mode (presumably to make the binary set*id). The defaults there
-# are root:0 and 4711. Otherwise, the ownership and permissions will be
+# are 0:0 and 4711. Otherwise, the ownership and permissions will be
# unchanged.
fcaps() {
debug-print-function ${FUNCNAME} "$@"
@@ -94,7 +94,7 @@ fcaps() {
fi
# Process the user options first.
- local owner='root'
+ local owner='0'
local group='0'
local mode='4711'
local caps_mode='711'
--
2.35.1
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic