Summary: | sys-apps/portage-3.0.45.3: some emerge commands stop working with unreadable file in package.use | ||
---|---|---|---|
Product: | Portage Development | Reporter: | tastytea <gentoo> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Ah, `emerge -a` did only work because it is run as root and root can read the file. 🤦 Closing this since it is consistent. |
I made a file in /etc/portage/package.use/ unreadable to temporarily disable its effects. `emerge -a sys-apps/portage` still works like before but `emerge -pv sys-apps/portage` exits with code 13 after printing: > Permission denied: '/etc/portage/package.use/steam' I think the behaviour should be consistent.