Hi all.

(is you saw this already - sorry for repeating mail, but previous seems to be stuck somewhere)

I'm writing a geoclue provider that requires root permissions. In particular it requires access to wifi driver via wireless tools (initiate a scan). All is working perfectly when I start client application with sudo. But obviously I want a regular user to be able to use this provider without sudoing. How can I achieve this?

What I tried:
- Adding suexec bit to provider binary didn't worked, in this case client can't communicate with provider at all. - Adding User=root to dbus service configuration. It seems to ignore this line for regular services. - Prelaunching service at boot from root. Then user can connect to running instance. But this way is not suitable - I don't want my service to run always, only when it's needed.

Thanks,
Leonid.

_______________________________________________
GeoClue mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/geoclue

Reply via email to