[SailfishDevel] under which user do apps run

Jonni Rainisto jonni.rainisto at jollamobile.com
Sun Aug 11 19:22:07 UTC 2013


You must be doing something wrong :)

    qDebug() << getuid();
    system("whoami");
->
100000 
nemo
________________________________________
From: devel-bounces at lists.sailfishos.org [devel-bounces at lists.sailfishos.org] on behalf of Wim de Vries [wsvries at xs4all.nl]
Sent: Sunday, August 11, 2013 9:53 PM
To: devel at lists.sailfishos.org
Subject: [SailfishDevel] under which user do apps run

Hi,
Trying to find out under which user my app runs.
whoami from within the app returns "".
and ~ has no content.
Thanks.
_______________________________________________
SailfishOS.org Devel mailing list


More information about the Devel mailing list