pybombs icon indicating copy to clipboard operation
pybombs copied to clipboard

Permission denied error is not explicit enough

Open giladbeeri opened this issue 8 years ago • 1 comments

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.

giladbeeri avatar Jun 09 '17 07:06 giladbeeri

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.

mbr0wn avatar Jun 17 '17 07:06 mbr0wn