pybombs
pybombs copied to clipboard
Permission denied error is not explicit enough
When trying to install a package into a folder that requires root permissions (e.g., /opt), if forgetting to use sudo, the error the user gets is:
Unable to fetch recipe [PACKAGE]
PyBOMBS.install_manager - ERROR - Error installing package [PACKAGE]. Aborting.
I think it will be much more useful to be explicit and output the popular "Permission denied" linux error.
This is basically what #304 is about. In no case should people be required to run as sudo, anyway.
You're right, though, we can be better about propagating error messages.