ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #13622
[ubuntu-phone] QStorageInfo::bytesAvailable() returns bytes available from root path if the app is Apparmor restricted
-
To:
ubuntu-phone@xxxxxxxxxxxxxxxxxxx
-
From:
Frans Schreuder <fransschreuder@xxxxxxxxx>
-
Date:
Tue, 23 Jun 2015 16:20:31 +0200
-
In-reply-to:
<CALTgdmHAH-6cgyT3=OQtbXX8sZtjfKccAy3x4AbE=Tae2Ax8CA@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
Hello,
I would like to show the space available for downloading maps in the
OSMScout app.
QStorageInfo::bytesAvailable() provides exactly the information that I
need, however when the application is confined, it returns the free
space on "/" in stead of the folder I specified which is
" /home/phablet/.local/share/osmscout.fransschreuder/"
Is there a way to get the space available as a normal user?
Frans
Attachment:
signature.asc
Description: OpenPGP digital signature
Follow ups
References