Bug ID 930093
Summary Querying NetworkManager yields "Permission Denied / no permission" errors
Classification openSUSE
Product openSUSE 13.1
Version Final
Hardware x86-64
OS openSUSE 13.1
Status NEW
Severity Normal
Priority P5 - None
Component Network
Assignee bnc-team-screening@forge.provo.novell.com
Reporter Markus.greger@gmx.net
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Querying NetworkManager via dbus as regular user yields "permission denied"
when it should not:

dbus-send --system --print-reply --dest=org.freedesktop.NetworkManager
/org/freedesktop/NetworkManager/Settings/40
org.freedesktop.NetworkManager.Settings.Connection.GetSetting

Error org.freedesktop.NetworkManager.Settings.PermissionDenied: uid 1000 has no
permission to perform this operation

It does however work when issued as root.

According to
https://developer.gnome.org/NetworkManager/unstable/spec.html#org.freedesktop.NetworkManager.Settings.Connection
GetSetting does not query any security relevant data, so I assume it should
work as regular user.

nm-tool issues similiar errors:


** (process:7865): WARNING **: Could not create object for
/org/freedesktop/NetworkManager/Settings/43: uid 1000 has no permission to
perform this operation

** (process:7865): WARNING **: handle_property_changed: failed to update
property 'available-connections' of object type NMDeviceModem.

NetworkManager Tool

State: connected (global)


** (process:7865): WARNING **: error: cannot retrieve connection: uid 1000 has
no permission to perform this operation

Unfortunately I've not been able to locate the exact problem be it dbus, polkit
or networkmanager.


You are receiving this mail because: