summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorLaércio de Sousa <laerciosousa@sme-mogidascruzes.sp.gov.br>2015-10-19 08:44:23 -0200
committerLaércio de Sousa <laerciosousa@sme-mogidascruzes.sp.gov.br>2015-10-19 08:44:23 -0200
commitb9409a09fa377cbc5e18e5b2b25273e972df5bbe (patch)
treeb94eb424c4017d20b3cc053259fc7be688f7654f /data
parentd8e7bc593f8875e8379c0a9298f91758162ebe96 (diff)
downloadlightdm-b9409a09fa377cbc5e18e5b2b25273e972df5bbe.tar.gz
Update guest-session AppArmor profile to be suitable for openSUSE
Diffstat (limited to 'data')
-rw-r--r--data/apparmor/abstractions/lightdm6
1 files changed, 4 insertions, 2 deletions
diff --git a/data/apparmor/abstractions/lightdm b/data/apparmor/abstractions/lightdm
index 656381f0..5289a927 100644
--- a/data/apparmor/abstractions/lightdm
+++ b/data/apparmor/abstractions/lightdm
@@ -33,14 +33,16 @@
/etc/ r,
/etc/** rmk,
/etc/gdm/Xsession ix,
+ /etc/X11/xdm/** ix, # needed for openSUSE's default session-wrapper
+ /etc/X11/xinit/** ix, # needed for openSUSE's default session-wrapper
/lib/ r,
/lib/** rmixk,
/lib32/ r,
/lib32/** rmixk,
/lib64/ r,
/lib64/** rmixk,
- owner /media/ r,
- owner /media/** rmwlixk, # we want access to USB sticks and the like
+ owner /{,run/}media/ r,
+ owner /{,run/}media/** rmwlixk, # we want access to USB sticks and the like
/opt/ r,
/opt/** rmixk,
@{PROC}/ r,