User gpio-manager has no permission to run the DBus daemon #114
Answered
by
brgl
o-alquimista
asked this question in
Q&A
|
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? |
Answered by
brgl
Dec 6, 2024
Replies: 1 comment 4 replies
|
Do you have udev rules in place to make them accessible to the |
4 replies
Answer selected by
o-alquimista
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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