2 # Profile for restricting lightdm guest session
3 # Author: Martin Pitt <martin.pitt@ubuntu.com>
5 #include <tunables/global>
7 LIBEXECDIR/lightdm-guest-session-wrapper {
8 #include <abstractions/authentication>
9 #include <abstractions/nameservice>
10 #include <abstractions/wutmp>
11 /etc/compizconfig/config rw, # bug in compiz https://launchpad.net/bugs/697678
19 /dev/** rmw, # audio devices etc.
20 owner /dev/shm/** rmw,
31 /media/** rmwlixk, # we want access to USB sticks and the like
41 # needed for gnome-keyring-daemon
48 owner /tmp/** rwlkmix,
53 /var/guest-data/** rw, # allow to store files permanently
55 owner /var/tmp/** rwlkm,
57 # necessary for writing to sockets, etc.
59 /{,var/}run/shm/** wl,
63 # silence warnings for stuff that we really don't want to grant
64 deny capability dac_override,
65 deny capability dac_read_search,