← Back to team overview

touch-packages team mailing list archive

[Bug 1373086] Re: Using contentItem.move(dir, filename) doesn't work under confinement

 

This bug was fixed in the package content-hub -
0.0+14.10.20141009-0ubuntu1

---------------
content-hub (0.0+14.10.20141009-0ubuntu1) utopic; urgency=low

  [ Ken VanDine ]
  * Fall back to a copy if move fails (LP: #1373086)

  [ Michael Sheldon ]
  * Fix packaging for translations.
 -- Ubuntu daily release <ps-jenkins@xxxxxxxxxxxxxxxxxxx>   Thu, 09 Oct 2014 14:44:05 +0000

** Changed in: content-hub (Ubuntu)
       Status: New => Fix Released

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

Title:
  Using contentItem.move(dir, filename) doesn't work under confinement

Status in Content sharing/picking infrastructure and service:
  In Progress
Status in “content-hub” package in Ubuntu:
  Fix Released

Bug description:
  The music-app uses contentItem.move(dir, filename) to move files into
  ~/Music/Imported however while trying to add confinement back into the
  app it has been noted that this method does not function as expected.
  Any folders are created but the actual file is not renamed.

  There is an example branch of the music-app under confinement here
  [0].

  Note you may need to add the following to the apparmor profile (/var/lib/apparmor/profiles/click_com.ubuntu.music_music_1.3.634), depending which version of apparmor you are using and rerun the parser for that profile:
  dbus (receive) bus=session peer=(label=/usr/bin/mediascanner-service-2.0),
  dbus (bind) name="org.freedesktop.Application",

  0 - https://code.launchpad.net/~andrew-hayzen/+junk/music-app-
  confinement-001

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