← Back to team overview

touch-packages team mailing list archive

[Bug 1359831] [NEW] camera-app and reminders incorrectly perform a chmod on XDG_RUNTIME_DIR

 

Public bug reported:

>From bug #1351041:
[Thu Jul 31 21:04:20 2014] type=1400 audit(1406837062.464:97): apparmor="DENIED" operation="chmod" profile="com.ubuntu.reminders_reminders_0.5.203" name="/run/user/32011/" pid=12954 comm="reminders" requested_mask="w" denied_mask="w" fsuid=32011 ouid=32011

>From irc:
Aug 21 15:47:20 ubuntu-phablet kernel: [  251.843308] type=1400 audit(1408636040.346:137): apparmor="DENIED" operation="chmod" profile="com.ubuntu.camera_camera_3.0.0.355" name="/run/user/32011/" pid=4172 comm="camera-app" requested_mask="w" denied_mask="w" fsuid=32011 ouid=32011

AppArmor policy is correct on this denial-- apps should not be able to
change the permissions on the /run/user/32011/ (XDG_RUNTIME_DIR)
directory. I filed this against camera-app and reminders, but my guess
is this is an underlying library that is causing this. I don't know if
the denial is causing errors with the app, but it is causing confusion
for users and developers who see the denial.

** Affects: camera-app
     Importance: Undecided
         Status: New

** Affects: reminders-app
     Importance: Undecided
         Status: New


** Tags: application-confinement

** Also affects: camera-app
   Importance: Undecided
       Status: New

** No longer affects: camera-app (Ubuntu)

** Also affects: reminders-app
   Importance: Undecided
       Status: New

** Tags added: application-confinement

** Description changed:

  From bug #1351041:
  [Thu Jul 31 21:04:20 2014] type=1400 audit(1406837062.464:97): apparmor="DENIED" operation="chmod" profile="com.ubuntu.reminders_reminders_0.5.203" name="/run/user/32011/" pid=12954 comm="reminders" requested_mask="w" denied_mask="w" fsuid=32011 ouid=32011
  
  From irc:
  Aug 21 15:47:20 ubuntu-phablet kernel: [  251.843308] type=1400 audit(1408636040.346:137): apparmor="DENIED" operation="chmod" profile="com.ubuntu.camera_camera_3.0.0.355" name="/run/user/32011/" pid=4172 comm="camera-app" requested_mask="w" denied_mask="w" fsuid=32011 ouid=32011
  
  AppArmor policy is correct on this denial-- apps should not be able to
  change the permissions on the /run/user/32011/ (XDG_RUNTIME_DIR)
  directory. I filed this against camera-app and reminders, but my guess
- is this is an underlying library that is causing this.
+ is this is an underlying library that is causing this. I don't know if
+ the denial is causing errors with the app, but it is causing confusion
+ for users and developers who see the denial.

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

Title:
  camera-app and reminders incorrectly perform a chmod on
  XDG_RUNTIME_DIR

Status in Camera App:
  New
Status in Ubuntu Reminders app:
  New

Bug description:
  From bug #1351041:
  [Thu Jul 31 21:04:20 2014] type=1400 audit(1406837062.464:97): apparmor="DENIED" operation="chmod" profile="com.ubuntu.reminders_reminders_0.5.203" name="/run/user/32011/" pid=12954 comm="reminders" requested_mask="w" denied_mask="w" fsuid=32011 ouid=32011

  From irc:
  Aug 21 15:47:20 ubuntu-phablet kernel: [  251.843308] type=1400 audit(1408636040.346:137): apparmor="DENIED" operation="chmod" profile="com.ubuntu.camera_camera_3.0.0.355" name="/run/user/32011/" pid=4172 comm="camera-app" requested_mask="w" denied_mask="w" fsuid=32011 ouid=32011

  AppArmor policy is correct on this denial-- apps should not be able to
  change the permissions on the /run/user/32011/ (XDG_RUNTIME_DIR)
  directory. I filed this against camera-app and reminders, but my guess
  is this is an underlying library that is causing this. I don't know if
  the denial is causing errors with the app, but it is causing confusion
  for users and developers who see the denial.

To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1359831/+subscriptions


Follow ups

References