Gentoo Archives: gentoo-pms

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-pms@l.g.o
Cc: "Ulrich Müller" <ulm@g.o>
Subject: [gentoo-pms] [PATCH] pkg-mgr-commands.tex: Specify file ownership for dobin more accurately
Date: Sat, 26 Mar 2022 10:10:57
Message-Id: 20220326101042.7441-1-ulm@gentoo.org
1 In a non-prefix installation, files are to be owned by UID 0 / GID 0.
2 This is also what is implemented in Portage's dobin command.
3
4 Signed-off-by: Ulrich Müller <ulm@g.o>
5 ---
6 pkg-mgr-commands.tex | 2 +-
7 1 file changed, 1 insertion(+), 1 deletion(-)
8
9 diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
10 index 7f57539..a964859 100644
11 --- a/pkg-mgr-commands.tex
12 +++ b/pkg-mgr-commands.tex
13 @@ -460,7 +460,7 @@ the current phase function has returned.
14 \item[dobin] Installs the given files into \t{DESTTREE/bin}, where \t{DESTTREE} defaults to
15 \t{/usr}. Gives the files mode \t{0755} and transfers file ownership to the superuser or its
16 equivalent on the system or installation at hand. In a non-offset-prefix installation this
17 - ownership is \t{root:root}, while in an offset-prefix aware installation this may be e.\,g.\
18 + ownership is \t{0:0}, while in an offset-prefix aware installation this may be e.\,g.\
19 \t{joe:users}. Failure behaviour is EAPI dependent as per section~\ref{sec:failure-behaviour}.
20
21 \item[doconfd] Installs the given config files into \t{/etc/conf.d/}, by default with file mode
22 --
23 2.35.1

Replies