← Back to team overview

touch-packages team mailing list archive

[Bug 1391930] Re: Need a way for applications to ask permission to read/write in pictures/videos folders on SD card

 

This bug was fixed in the package apparmor-easyprof-ubuntu - 1.3.1

---------------
apparmor-easyprof-ubuntu (1.3.1) vivid; urgency=medium

  * ubuntu/ubuntu-sdk:
    - explicitly deny reads on ~/.cache/QML/Apps/ to silence noisy denials.
      Undo this when LP: 1381620 is fixed in qtdeclarative-opensource-src
    - explicitly deny dbus bind on name="org.freedesktop.Application" since
      it is noisy. Undo this when LP: 1378823 is fixed in ubuntu-ui-toolkit
  * ubuntu/1.3/ubuntu-sdk: drop html5-container policy. html5 apps should use
    webapp-container and specify the 'webview' policy group with 1.3 (15.04)
    policy (LP: #1392461)
  * ubuntu/ubuntu-scope-network, pending/ubuntu-scope-local-content: allow
    scopes to read data from the apps data dir (LP: #1384286)
  * adjust all dbus rules to use peer=(label=unconfined) to prevent
    coordinated communications between apps over DBus (LP: #1383824)
  * ubuntu/{music,pictures,video}_files*: allow access to global SD card
    directories (LP: #1391930)
  * debian/control: Depends on apparmor >= 2.8.98-0ubuntu2~ for the dbus peer
    changes (we need at least apparmor_parser 2.9.beta4 for these)
 -- Jamie Strandboge <jamie@xxxxxxxxxx>   Mon, 15 Dec 2014 15:53:32 +0000

** Changed in: apparmor-easyprof-ubuntu (Ubuntu Vivid)
       Status: In Progress => Fix Released

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

Title:
  Need a way for applications to ask permission to read/write in
  pictures/videos folders on SD card

Status in apparmor-easyprof-ubuntu package in Ubuntu:
  Fix Released
Status in apparmor-easyprof-ubuntu source package in Utopic:
  In Progress
Status in apparmor-easyprof-ubuntu source package in Vivid:
  Fix Released
Status in apparmor-easyprof-ubuntu package in Ubuntu RTM:
  Fix Released

Bug description:
  The camera and the gallery app today are authorized to read/write in /home/$USER/Pictures and /home/$USER/Videos.
  Now they also need to be able to read/write in the similar directories of the SD card, for example:
  - /media/phablet/064a-7494/Pictures
  - /media/phablet/064a-7494/Videos

  As a side note, we are using the following API in applications to retrieve the path (e.g. /home/phablet/Pictures):
  http://qt-project.org/doc/qt-5/qstandardpaths.html#writableLocation

  To retrieve the similar path on the SD card we are considering using a
  combination of that to guess the directory name (Pictures)
  concatenated with the value of http://doc-snapshot.qt-
  project.org/qt5-5.4/qstorageinfo.html#rootPath

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


References