commit:     83e510378a6ae9906da52b0c276319f87d490593
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Sun Oct  2 10:32:23 2016 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Mar 28 19:47:11 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83e51037

fcaps.eclass: Use UID 0 instead of root

Bug: https://bugs.gentoo.org/595908
Signed-off-by: Ulrich Müller <ulm <AT> 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'

Reply via email to