Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 953449 - sys-apps/portage-3.0.67 emerge --root as a non-root user broken
Summary: sys-apps/portage-3.0.67 emerge --root as a non-root user broken
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-08 20:41 UTC by Esteve Varela Colominas
Modified: 2025-04-08 20:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Esteve Varela Colominas 2025-04-08 20:41:02 UTC
Previously, I was able to, as a non-root user, do the following:

$ ROOT="$PWD/root" PORTAGE_TMPDIR="$PWD/root/var/tmp" emerge app-misc/hello

It'd throw a few warnings about the portage log file (which are solveable with more environment variables), but it'd otherwise work.

Now, when I do that, I get the following message:
    Permission denied: '[Errno 13] Permission denied: '/var/db/.pkg.portage_lockfile''

I'm not sure why this message is being raised, wouldn't the ROOT variable already make it only write to "$ROOT/var/db"?