~ubuntu-branches/ubuntu/quantal/lightdm/quantal

« back to all changes in this revision

Viewing changes to debian/patches/08_lp1059510.patch

  • Committer: Package Import Robot
  • Author(s): Jamie Strandboge
  • Date: 2012-10-01 10:15:51 UTC
  • Revision ID: package-import@ubuntu.com-20121001101551-saxia3m063oogben
Tags: 1.3.3-0ubuntu5
* debian/patches/08_lp1059510.patch: allow owner 'rw' access to
  /{,var/}run/user/guest-*/dconf/user. Also allow owner writes to sockets in
  /{,var/}run/user/guest-*/keyring-*/. (LP: #1059510)
* debian/patches/09_lp577919-fix-chromium-launch.patch: allow launch of
  chromium-browser from guest session. (LP: #577919)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Author: Jamie Strandboge <jamie@canonical.com>
 
2
Description: allow owner 'rw' access to /{,var/}run/user/guest-*/dconf/user.
 
3
 Also allow owner write of /{,var/}run/user/guest-*/keyring-*/
 
4
Bug-Ubuntu: https://launchpad.net/bugs/1059510
 
5
 
 
6
Index: lightdm-1.3.3/data/guest-session.apparmor
 
7
===================================================================
 
8
--- lightdm-1.3.3.orig/data/guest-session.apparmor      2012-10-01 10:15:36.000000000 -0500
 
9
+++ lightdm-1.3.3/data/guest-session.apparmor   2012-10-01 10:24:12.000000000 -0500
 
10
@@ -58,6 +58,11 @@
 
11
   # necessary for writing to sockets, etc.
 
12
   /{,var/}run/** rmkix,
 
13
   /{,var/}run/shm/** wl,
 
14
+  # libpam-xdg-support
 
15
+  owner /{,var/}run/user/guest-*/dconf/ rw,
 
16
+  owner /{,var/}run/user/guest-*/dconf/user rw,
 
17
+  owner /{,var/}run/user/guest-*/keyring-*/ rw,
 
18
+  owner /{,var/}run/user/guest-*/keyring-*/{control,gpg,pkcs11,ssh} rw,
 
19
 
 
20
   capability ipc_lock,
 
21