← Back to team overview

touch-packages team mailing list archive

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

 

** Changed in: content-hub
       Status: In Progress => 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:
  Fix Released
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