Skip to content

Allow unprivileged dbus method calls #32

@jfhbrook

Description

@jfhbrook

In #30 , I was able to get the systemd service running, and was able to run plusdeckctl commands with sudo.

However, unprivileged access is eluding me. The intent is that unprivileged users in the plusdeck group may have full access to the service. Currently what works is listening to signals (plusdeckctl subscribe), as well as property access (plusdeckctl config show). Unfortunately, method calling (plusdeckctl eject) is not working.

I believe the issue lies with systemd, either with some capacities I have to manually set, or with some settings I need in polkit. For more information, see these discussion threads:

https://unix.stackexchange.com/questions/790750/dbus-policy-that-allows-group-to-access-system-service
https://discussion.fedoraproject.org/t/dbus-policy-that-allows-group-to-access-system-service/144265

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions