Running kernel manager actions as non-root user fails
Actual behavior
When running manjaro-settings-manager
as a non-root user, the kernel manager loads but any actions performed there fail mysteriously. For instance, here's what I get when trying to install a particular kernel:
Changes failed, click on 'Show Details' for more information
And in the details:
The following packages will be installed: linux419
Starting
Done ...
This does not happen if instead I run manjaro-settings-manager
as root. Then, actions performed work just fine.
Expected behavior
There are a couple of problems with this. First, it doesn't give any indication what went wrong, and so a user may not realize that they need to run the whole application as root instead of a non-root user. It took me a while to realize this, even though it's pretty obvious when you think about what's going on under the hood.
Second, I might expect the application to prevent me from trying to perform actions that I don't have permission to perform, and give a clear message about that, rather than blindly trying and failing to install or uninstall kernels as a non-root user.
Third, some of this could be mitigated via documentation, stating explicitly that the application only works as root if that's the intention.
Possibly related to #157 (closed).
More info
$ cat /etc/*release* |grep RELEASE
DISTRIB_RELEASE=17.1.12
$ pacman -Si manjaro-settings-manager |grep Version
Version : 0.5.4-15