1
#include <tunables/global>
3
/opt/extras.ubuntu.com/unity-lens-sshsearch/unity-lens-sshsearch.py {
4
#include <abstractions/base>
5
#include <abstractions/python>
6
#include <abstractions/nameservice>
8
deny /usr/share/gvfs/remote-volume-monitors/ r,
11
# Allow the actual daemon to run
12
/opt/extras.ubuntu.com/unity-lens-sshsearch/unity-lens-sshsearch.py r,
14
# Allow the daemon to access the scopes
15
/usr/share/unity/lenses/extras_unity_lens_sshsearch/ r,
17
# Allow restricted access to ssh config and known hosts:
18
@{HOME}/.ssh/config r,
19
@{HOME}/.ssh/known_hosts r,
21
# Allow the lens to start gnome-terminal
22
/usr/bin/gnome-terminal Uxr,
24
# Workaround for python2.7 on precise
25
/usr/bin/python2.[4567] ix,
26
/usr/include/python2.[4567]/pyconfig.h r,