NetworkManager/src/nm-priv-helper/nm-priv-helper.conf
Thomas Haller b21138f4e9
priv-helper: fix D-Bus patch to not contain forbidden character '-'
"-" is not allowed as D-Bus path and interface name, and discouraged as
bus name. This cause nm-priv-helper to crash, because GDBus asserts the
the object path is valid.

Replace the '-' with '_'. This way, it's consistent with
"nm_dispatcher".

Fixes: d68ab6b8f0 ('nm-sudo: rename to nm-priv-helper')
(cherry picked from commit 16a45d07ed)
2022-02-09 18:49:47 +01:00

13 lines
495 B
Text

<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy user="root">
<allow own="org.freedesktop.nm_priv_helper"/>
<allow send_destination="org.freedesktop.nm_priv_helper"/>
</policy>
<policy context="default">
<deny own="org.freedesktop.nm_priv_helper"/>
<deny send_destination="org.freedesktop.nm_priv_helper"/>
</policy>
</busconfig>