← Back to team overview

ubuntu-phone team mailing list archive

[ubuntu-phone] QStorageInfo::bytesAvailable() returns bytes available from root path if the app is Apparmor restricted

 

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