mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
dbus: Allow plinth user to own FreedomBox DBus service
Without this fix, the daemon plinth will not able to acquire a DBus connection and listen for the FreedomBox DBus service when running as user plinth user. This is the case for production FreedomBox machines. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
c3cf60bcb6
commit
d00aecf360
@ -5,15 +5,21 @@
|
|||||||
<!--
|
<!--
|
||||||
This file is part of FreedomBox.
|
This file is part of FreedomBox.
|
||||||
|
|
||||||
Allow only root user to send any notifications to FreedomBox.
|
Allow only root and plinth users to send any notifications to FreedomBox Service
|
||||||
|
or to own the FreedomBox Service.
|
||||||
|
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<busconfig>
|
<busconfig>
|
||||||
|
|
||||||
<policy user="root">
|
<policy user="root">
|
||||||
<allow own="org.freedombox.Service"/>
|
<allow own="org.freedombox.Service"/>
|
||||||
<allow send_destination="org.freedombox.Service"
|
<allow send_destination="org.freedombox.Service"/>
|
||||||
send_path="/org/freedombox/Service/PackageHandler"/>
|
</policy>
|
||||||
|
|
||||||
|
<policy user="plinth">
|
||||||
|
<allow own="org.freedombox.Service"/>
|
||||||
|
<allow send_destination="org.freedombox.Service"/>
|
||||||
</policy>
|
</policy>
|
||||||
|
|
||||||
</busconfig>
|
</busconfig>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user