-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
Description
It happens so that I had files under /etc/portage/package.accept_keywords with permissions of -rw------- root root. While it wasn't problem for emerging stuff, eix appears to switch to the portage user before reading them. As a result I got tons of confusing complains when, for example, running eix-test-obsolete.
What I expect the tool to give me in such a situation would be a error message in output, something like:
eix-text-obsolete: cannot open /etc/portage/package.accept_keywords/default: Permission denied
so I would easily spot the issue and fix the permissions.
A quick glance into the code shows that this might originate from methods like PortageUserConfig::readKeywords, which call pushback_lines to read the portage config files, but instead of providing errtext to pushback_lines just silently return.