~bernd-sch/onehundredscopes/sshsearch

« back to all changes in this revision

Viewing changes to debian/opt.extras.ubuntu.com.unity-lens-sshsearch.unity-lens-sshsearch.py

  • Committer: Stéphane Graber
  • Date: 2012-01-19 21:23:44 UTC
  • mto: This revision was merged to the branch mainline in revision 23.
  • Revision ID: stgraber@ubuntu.com-20120119212344-khauxmohgtmltvch
Add initial metadata, add apparmor profile, add icon, add clean file, prepare for staging upload

Show diffs side-by-side

added added

removed removed

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