[SailfishDevel] Cannot access phone book on phone when starting app from QtCreator

Andrey Kozhevnikov coderusinbox at gmail.com
Mon Jan 6 13:16:55 UTC 2014


change your launch parameters to use invoker

On 06.01.2014 19:14, Ove Kåven wrote:
> Den 05. jan. 2014 23:10, skrev Matthias Barmeier:
>> Hi,
>>
>> I am unable to access the phone book when running my app from QtCreator
>> on the phone.
>> Is this a security feature ?
>
> I've needed to access PIM data myself, so, as far as I can tell from 
> my own investigations, yes, it's Unix security. The directory 
> .local/share/system/privileged is only accessible to processes that 
> are in the "privileged" group.
>
> The standard boosters (used by mapplauncherd) seem to be sgid 
> "privileged", thus automatically giving Qt/QML apps that use them the 
> necessary privileges (at least when launched from the phone menu, I 
> suppose). But when you just launch something using ssh (not 
> mapplauncherd), the apps probably won't belong to that group 
> automatically.
>
> _______________________________________________
> SailfishOS.org Devel mailing list



More information about the Devel mailing list