abstractions/X: yet another location for Xauthority

Add access to /{,var/}run/user/*/X11/Xauthority.

Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845250

Nominated for trunk, 2.10, and 2.9.

Signed-off-by: Steve Beattie <st...@nxnw.org>
---
 profiles/apparmor.d/abstractions/X |    1 +
 1 file changed, 1 insertion(+)

Index: b/profiles/apparmor.d/abstractions/X
===================================================================
--- a/profiles/apparmor.d/abstractions/X
+++ b/profiles/apparmor.d/abstractions/X
@@ -21,6 +21,7 @@
   owner /{,var/}run/lightdm/authority/[0-9]* r,
   owner /{,var/}run/lightdm/*/xauthority r,
   owner /{,var/}run/user/*/gdm/Xauthority r,
+  owner /{,var/}run/user/*/X11/Xauthority r,
 
   # the unix socket to use to connect to the display
   /tmp/.X11-unix/* rw,

-- 
Steve Beattie
<sbeat...@ubuntu.com>
http://NxNW.org/~steve/

Attachment: signature.asc
Description: PGP signature

-- 
AppArmor mailing list
AppArmor@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to