# vim:syntax=apparmor # Author: Jamie Strandboge #include /usr/bin/totem-video-thumbnailer flags=(attach_disconnected) { #include # Probably needed due to this program being run with bwrap @{HOMEDIRS} w, owner @{HOME}/ w, # Allow read on almost anything in @{HOME}. Lenient, but private-files-strict is in # effect. #include owner @{HOME}/[^.]* rw, owner @{HOME}/[^.]*/** rw, # Not needed by nautilus, but maybe other applications owner /**.[pP][nN][gG] w, owner /**.[jJ][pP]{,[eE]}[gG] w, # GNOME thumbnailers maintain their own GStreamer registry owner @{HOME}/.cache/gnome-desktop-thumbnailer/gstreamer-[0-9]*.[0-9]*/gstreamer-[0-9]*.[0-9]*.registry{,.tmp*} rw, /usr/bin/totem-video-thumbnailer rm, # Site-specific additions and overrides. See local/README for details. #include } /usr/bin/totem-audio-preview flags=(attach_disconnected) { #include #include # Allow read on anything in @{HOME}. Lenient, but private-files-strict is in # effect. #include owner @{HOME}/[^.]* rw, owner @{HOME}/[^.]*/** rw, # Site-specific additions and overrides. See local/README for details. #include }