← Back to team overview

touch-packages team mailing list archive

[Bug 1450168] Re: Map data should be shared between apps

 

Mardy, AppArmor always allows directory execute access.

/foo/directory/ r, is needed to enumerate files in the directory.

/foo/directory/* r, is needed to access the files in the directory,
regardless if the names were guessed or read via getdents(2).

-- 
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/1450168

Title:
  Map data should be shared between apps

Status in apparmor-easyprof-ubuntu package in Ubuntu:
  New
Status in qtlocation-opensource-src package in Ubuntu:
  New

Bug description:
  The libqtgeoservices_osm.so plugin gets loaded in the same process as
  the application using it, and stores all the map tiles into ~/.cache
  /<click-package>/

  This means that different apps will be unable to share the data,
  leading to wasted filesystem space.

  I suggest to modify the plugin so that:

  1) Tiles are stored in a common place (and apparmor rules are relaxed
  to allow read access to that): ~/.cache/libqtgeoservices_osm/, for
  example

  2) Tile downloads are managed by a separate service, started on
  demand.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor-easyprof-ubuntu/+bug/1450168/+subscriptions


References