← Back to team overview

touch-packages team mailing list archive

[Bug 1384286] Re: add directory allowing scopes and apps to share data

 

Michi,

this is what is currently in the scopes network template as a writable directory:
  @{HOME}/.local/share/unity-scopes/leaf-net/@{APP_PKGNAME}/*

this is the read-only directory I want to add to the scopes network template so scopes can surface data from the app:
  @{HOME}/.local/share/@{APP_PKGNAME}/*

As such, scopes have read access to *both*, but only write access to
leaf-net.

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

Title:
  add directory allowing scopes and apps to share data

Status in “apparmor-easyprof-ubuntu” package in Ubuntu:
  In Progress
Status in “click-reviewers-tools” package in Ubuntu:
  In Progress
Status in “unity-scopes-api” package in Ubuntu:
  In Progress

Bug description:
  Summary says it all, just need to decide on the directory. I propose using this rule:
    # Allow scopes to share data with the app shipped in the same click
    owner @{HOME}/.local/share/@{APP_PKGNAME}/            rw,
    owner @{HOME}/.local/share/@{APP_PKGNAME}/**          mrwkl,

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


References