I'm agnostic as to the exact location. We just need to agree :-)

Currently, it is: ~/.local/share/unity-scopes/unconfined/@{APP_PKG_NAME}
for unconfined scopes, and ~/.local/share/unity-scopes/leaf-
net/@{APP_PKG_NAME} for confined scopes.

I can change this easily enough. However, currently,
~/.local/share/@{APP_PKGNAME} is used as the click *installation*
directory. That is the directory where the click package installs the
scope's .so and .ini file.

For data sharing between the application and the scope, I take it that
we are talking about the *cache* directory? It doesn't seem a good idea
to use the same directory for both installation files from the click
package, and data files that are created by the scope and/or the
application, so I think the install dir and the cache dir should be
different locations (but the new location you suggest is the same as the
current click installation location).

Is it OK to drop the leaf-net and unconfined components from the path?
Currently, a confined scope relies on being able to create the final
path component *itself* by calling mkdir(). So, assuming that
~/.local/share/unity-scopes/leaf-net exists, the scope will try to
create ~/.local/share/unity-scopes/leaf-net/@{APP_PKG_NAME}.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1384286

Title:
  add directory allowing scopes and apps to share data

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to