Bug: https://bugs.launchpad.net/bugs/1339727

LightDM keeps moving the location where it stores xauthority files for
users, when configured to store them in a system directory (e.g. with

  [LightDM]
  user-authority-in-system-dir=true

set in a lightdm configuration file).

Signed-off-by: Steve Beattie <[email protected]>
---
 profiles/apparmor.d/abstractions/X |    2 ++
 1 file changed, 2 insertions(+)

Index: b/profiles/apparmor.d/abstractions/X
===================================================================
--- a/profiles/apparmor.d/abstractions/X
+++ b/profiles/apparmor.d/abstractions/X
@@ -19,6 +19,8 @@
   owner @{HOME}/.Xauthority r,
   owner /{,var/}run/gdm{,3}/*/database r,
   owner /{,var/}run/lightdm/authority/[0-9]* r,
+  # lightdm keeps moving these around
+  owner /{,var/}run/lightdm/*/xauthority r,
 
   # the unix socket to use to connect to the display
   /tmp/.X11-unix/*           w,

-- 
Steve Beattie
<[email protected]>
http://NxNW.org/~steve/

Attachment: signature.asc
Description: Digital signature

-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to