[Bug 930093] New: Querying NetworkManager yields "Permission Denied / no permission" errors
http://bugzilla.novell.com/show_bug.cgi?id=930093 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.freedeskto... 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: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=930093 --- Comment #2 from Markus Greger <Markus.greger@gmx.net> --- I've just realized behaviour is also connection depended: There are some connections which can be queried as regular user and some can't. I still assume it should return no errror but haven't found a pattern triggering "permission denied". -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=930093 http://bugzilla.novell.com/show_bug.cgi?id=930093#c3 --- Comment #3 from Markus Greger <Markus.greger@gmx.net> --- Hi, Is there anything missing for analyzing this issue? Regards, Markus -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=930093 http://bugzilla.novell.com/show_bug.cgi?id=930093#c4 --- Comment #4 from Markus Greger <Markus.greger@gmx.net> --- Hello, Any progress, anything missing? Regards, Markus -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com