← Back to team overview

touch-packages team mailing list archive

[Bug 1360366] Re: Qt.labs.settings in QML not honoring applicationName which causes wrong path to be used (and blocked by apparmor)

 

** Summary changed:

- apparmor denies access to configuration file
+ Qt.labs.settings in QML not honoring applicationName which causes wrong path to be used (and blocked by apparmor)

** Summary changed:

- Qt.labs.settings in QML not honoring applicationName which causes wrong path to be used (and blocked by apparmor)
+ Qt.labs.settings using ~/.config/qt-project.org which is blocked by apparmor

** Changed in: qtdeclarative-opensource-src (Ubuntu)
   Importance: Undecided => Critical

** Tags added: rtm14

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtdeclarative-opensource-
src in Ubuntu.
https://bugs.launchpad.net/bugs/1360366

Title:
  Qt.labs.settings using ~/.config/qt-project.org which is blocked by
  apparmor

Status in “qtdeclarative-opensource-src” package in Ubuntu:
  New

Bug description:
  I was using Qt.labs.settings in a QML app, and when trying to store
  settings in a click app running on ubuntu touch, I get this:

  Aug 22 16:49:17 ubuntu-phablet kernel: [  144.375949] type=1400
  audit(1408726157.559:149): apparmor="DENIED" operation="mkdir"
  profile="com.ubuntu.developer.ralsina.hello_hello_0.4"
  name="/home/phablet/.config/qt-project.org/" pid=2846 comm="qmlscene"
  requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011

  jdstrand suggested this was caused by not setting applicationName in
  my QML, but it is set, see http://bazaar.launchpad.net/~ralsina
  /ubuntu-push-qml/nicer-example/view/head:/example/main.qml for the
  code.

  So, looks like a bug in settings?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1360366/+subscriptions


References