← Back to team overview

touch-packages team mailing list archive

[Bug 1508173] Re: Missing permission for application specific data on SD card

 

Thank you for reporting a bug. This isn't a missing permission but instead intentionally left out of the policy because we can't depend on the SD card's filesystem to properly handle long filenames. But beyond that, the platform does not currently support external storage in a way that apps can easily consume. This is being worked on and has been discussed at length several times on the ubuntu-phone@ mailing list. The latest thread is here:
https://lists.launchpad.net/ubuntu-phone/msg13432.html

I'm going to change this away from apparmor-easyprof-ubuntu to content-
hub, since that is where the work is expected to happen.

** Package changed: apparmor-easyprof-ubuntu (Ubuntu) => content-hub
(Ubuntu)

** Summary changed:

- Missing permission for application specific data on SD card
+ App access to  SD card

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor-easyprof-ubuntu
in Ubuntu.
https://bugs.launchpad.net/bugs/1508173

Title:
  App access to  SD card

Status in content-hub package in Ubuntu:
  New

Bug description:
  Currently there is no possibility for applications to ask for permission to access the SD card for application specific data. Bug #1391930 solved the issue for pictures and videos.
  In my eyes the usefulness of the SD card is strongly reduced, as app data can not be moved to external memory.

  If you develop a app which need a lot of data you have currently only the possibility to miss use the picture/video access rights for the SD card or to bypass the predefined policy groups.
  Both solutions goes in the wrong direction.

  An example is OSMScout (https://github.com/fransschreuder/OSMScout-ubuntu) the offline navi app for Ubuntu. The maps are way too big for the internal memory (I own a bq E4.5).
  I choose to compile OSMScout myself with the tweaked apparmor profile used in the open store version.

  I am sure this is not the only app which is affected by the missing
  permission issue.

  Currently the app specific data is stored under
  $(HOME)/.local/share/$(APP_ID). Why not apply a similar folder
  structure on the SD card?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/content-hub/+bug/1508173/+subscriptions


References