Geoclue provider requires root permissions

Bastien Nocera hadess at hadess.net
Thu Mar 31 07:01:28 PDT 2011


On Thu, 2011-03-31 at 16:39 +0300, Leonid Yurchenko wrote:
> 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?

Why does it need that? I would expect connman, or NetworkManager to be
able to provide you with the details of nearby APs. In fact, that's
already how the skyhook provider works.



More information about the GeoClue mailing list