** Description changed:

  Ubuntu SDK applications store their sqlite data in locations like this:
  ~/.local/share/Qt 
Project/QtQmlViewer/QML/OfflineStorage/Databases/7dbf3433d69b4304a43526d9eca5b650.ini
  ~/.local/share/Qt 
Project/QtQmlViewer/QML/OfflineStorage/Databases/7dbf3433d69b4304a43526d9eca5b650.sqlite
  
  This results in AppArmor rules like the following:
  owner "@{HOME}/.local/share/Qt Project/QtQmlViewer/" rw,
  owner "@{HOME}/.local/share/Qt Project/QtQmlViewer/QML/" rw,
  owner "@{HOME}/.local/share/Qt Project/QtQmlViewer/QML/OfflineStorage/" rw,
  owner "@{HOME}/.local/share/Qt 
Project/QtQmlViewer/QML/OfflineStorage/Databases/" rw,
  owner "@{HOME}/.local/share/Qt 
Project/QtQmlViewer/QML/OfflineStorage/Databases/[0-9a-f]*.ini{,.*}" rwk,
  owner "@{HOME}/.local/share/Qt 
Project/QtQmlViewer/QML/OfflineStorage/Databases/[0-9a-f]*.sqlite" rwk,
  
  But these rules are too lenient and these paths need to be made
- application specific. Specifically: $XDG_DATA_HOME/<app id> where '<app
- id>' will ultimately be the reverse domain name with Click packages (see
- bug #1197037 for details on '<app id>').
+ application specific. Specifically: $XDG_DATA_HOME/<app pkgname> where
+ '<app pkgname>' is the "name" field in the Click manifest (see bug
+ #1197037 for details).

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

Title:
  SDK applications should not use ~/.local/share/Qt Project for sqlite
  files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1197051/+subscriptions

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

Reply via email to