User gpio-manager has no permission to run the DBus daemon #114
-
|
Based on the DBus policy below... <!-- Daemon must run as the `gpio-manager` user. -->
<policy user="gpio-manager">
<allow own="io.gpiod1"/>
</policy>I've created the following system user: Attempting to run the DBus daemon as that user results in permission errors. Running as root, it works: Any idea why? I'm on Alpine Linux, building from source. Alpine did package v2.2, but did not enable DBus. UPDATE: forgot to reload DBusReloading DBus allowed it to be started as the user On the filesystem, they are owned by Would it be unwise to change the ownership of these devices? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
Do you have udev rules in place to make them accessible to the |
Beta Was this translation helpful? Give feedback.
Do you have udev rules in place to make them accessible to the
gpiogroup? The file is in the repo: https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/tree/dbus/data/90-gpio.rules