You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wouldn't it be more robust to just try passing a DBUS message to FirmwareDaemon and seeing it that works, rather than assuming access based on the group?
Thanks!
The text was updated successfully, but these errors were encountered:
Hey,
It took me a few moments to realize why exactly Firmware Manager kept showing it's only for administrators. I first traced it down to https://github.com/pop-os/system76-firmware/blob/2a64993c8d7fc10f170f3707846b0221c4313f8a/data/system76-firmware-daemon.conf listing two groups as permitted parties. As I had configured
sudo
to use a different group than%sudo
, I thought adding it to/etc/dbus-1/system.d/system76-firmware-daemon.conf
would suffice. Turns out, however, that the permitted group list is also hardcoded into https://github.com/pop-os/firmware-manager/blob/df334aeb2b5e6b9df719ab1f2dddcdb08cdf475e/src/users.rs.Wouldn't it be more robust to just try passing a DBUS message to
FirmwareDaemon
and seeing it that works, rather than assuming access based on the group?Thanks!
The text was updated successfully, but these errors were encountered: