I played around a bit with policykit and it seems like the polkit
backend uses org.freedesktop.DBus.GetConnectionUnixUser to get the UID
(not the EUID!) of the caller. I don't know what the cleanest solution
would be, but adding setuid(0) to works for me (see patch).

** Attachment added: "Patch to setuid to 0 in polkit-agent-helper"
   http://launchpadlibrarian.net/32794654/polkit_agent_helper-setuid.patch

-- 
Policykit authentication dialog not responsive to clicks on the 'Authenticate'  
button
https://bugs.launchpad.net/bugs/439552
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to