← Back to team overview

ubuntu-phone team mailing list archive

Re: SDK Team status update - 05.08

 

Hi Christian,

On Tue, Aug 5, 2014 at 11:44 PM, Christian Dywan
<christian.dywan@xxxxxxxxxxxxx> wrote:
>
> I'm a very practical person. Just try this (example attached):
>
> env APP_ID=uitk XDG_CONFIG_HOME=/tmp qmlscene settings.qml
>
> Et voilá the settings go where you expect them.

The line above creates:

/tmp/qt-project.org/uitk.conf

> For the same reason there's no issue with apparmor.

I would agree that on the phone, u-a-l sets XDG_CONFIG_HOME to ~/.config/

However, the path is still ~/.config/qt-project.org/$APP_ID.conf

This *will* result in AppArmor denial since an app cannot access
~/.config/qt-project.org/*

So how are apps supposed to change that path to be something like
"~/.config/$APP_ID/$APP_ID.conf" ? A working example in QML would be
great.

Thanks.


Follow ups

References