summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2016-10-02 12:32:23 +0200
committerUlrich Müller <ulm@gentoo.org>2022-03-28 21:47:11 +0200
commit83e510378a6ae9906da52b0c276319f87d490593 (patch)
treed57d8b53424adbc73a9d7f68de826ea28405356c /eclass/fcaps.eclass
parentsci-visualization/gwyddion: add missing use_with jannson (diff)
downloadgentoo-83e510378a6ae9906da52b0c276319f87d490593.tar.gz
gentoo-83e510378a6ae9906da52b0c276319f87d490593.tar.bz2
gentoo-83e510378a6ae9906da52b0c276319f87d490593.zip
fcaps.eclass: Use UID 0 instead of root
Bug: https://bugs.gentoo.org/595908 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass/fcaps.eclass')
-rw-r--r--eclass/fcaps.eclass4
1 files 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'