Comment 7 for bug 1197056

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: SDK webview applications should not use ~/.local/share/*/.QtWebKit/ for their databases

Cordova is still affected-- confirmed on unity7 (desktop) and unity8 (touch/mako). Here is the apparmor policy needed for cordova-ubuntu-2.8 on trusty using com.ubuntu.developer.abreu-alexandre.cordova-qrcode-reader 1.0.4:
  owner @{HOME}/.local/share/cordova-ubuntu-2.8/ rw,
  owner @{HOME}/.local/share/cordova-ubuntu-2.8/.QtWebKit/ rw,
  owner @{HOME}/.local/share/cordova-ubuntu-2.8/.QtWebKit/cache/ rw,
  owner @{HOME}/.local/share/cordova-ubuntu-2.8/.QtWebKit/cache/** rw,
  owner @{HOME}/.local/share/cordova-ubuntu-2.8/.QtWebKit/Databases/ rw,
  owner @{HOME}/.local/share/cordova-ubuntu-2.8/.QtWebKit/Databases/** rwk,
  owner @{HOME}/.local/share/cordova-ubuntu-2.8/.QtWebKit/LocalStorage/ rw,
  owner @{HOME}/.local/share/cordova-ubuntu-2.8/.QtWebKit/LocalStorage/** rwk,
  owner @{HOME}/.local/share/cordova-ubuntu-2.8/.QtWebKit/WebpageIcons.db* rwk,
  owner @{HOME}/.local/share/cordova-ubuntu-2.8/.QtWebKit/cookies.db* rwk,

cordova-ubuntu needs to somehow determine the click manifest "name" and adjust @{HOME}/.local/share/cordova-ubuntu-2.8 to be @{HOME}/.local/share/<click package name>.