1 |
The install step only installs to a temporary directory under $PORTAGE_TMPDIR so it is reasonably safe as root, but for more security run the procedure inside a container/chroot/VM. |
2 |
|
3 |
On 15 February 2018 02:37:50 GMT+00:00, Ian Zimmerman <itz@××××××××××××.org> wrote: |
4 |
>I'm trying to test my package by running "ebuild /path/to/pkg.ebuild |
5 |
>install". Naturally (for me) I do this as an unprivileged user, not as |
6 |
>root. It fails because at least some steps such as dobin need to give |
7 |
>away ownership of the files being installed. I tried to run the whole |
8 |
>thing including compilation under fakeroot but that doesn't help. |
9 |
> |
10 |
>If it is relevant (but I don't think it is) my user _is_ in the portage |
11 |
>group. |
12 |
> |
13 |
>What is the accepted or usual way to do this task? |
14 |
> |
15 |
>-- |
16 |
>Please don't Cc: me privately on mailing lists and Usenet, |
17 |
>if you also post the followup to the list or newsgroup. |
18 |
>To reply privately _only_ on Usenet and on broken lists |
19 |
>which rewrite From, fetch the TXT record for no-use.mooo.com. |
20 |
|
21 |
-- |
22 |
Sent from my Android device with K-9 Mail. Please excuse my brevity. |