Debian Codegraph @

etc/profile-a-l/kube.profile

raw
1 # Firejail profile for kube
2 # Description: Qt mail client
3 # This file is overwritten after every install/update
4 # Persistent local customizations
5 include kube.local
6 # Persistent global definitions
7 include globals.local
8
9 noblacklist ${HOME}/.cache/kube
10 noblacklist ${HOME}/.config/kube
11 noblacklist ${HOME}/.config/sink
12 noblacklist ${HOME}/.gnupg
13 noblacklist ${HOME}/.local/share/kube
14 noblacklist ${HOME}/.local/share/sink
15
16 # sh is needed to allow Firefox to open links
17 include allow-bin-sh.inc
18
19 include disable-common.inc
20 include disable-devel.inc
21 include disable-exec.inc
22 include disable-interpreters.inc
23 include disable-programs.inc
24 include disable-shell.inc
25 include disable-xdg.inc
26
27 # The lines below are needed to find the default Firefox profile name, to allow
28 # opening links in an existing instance of Firefox (note that it still fails if
29 # there isn't a Firefox instance running with the default profile; see #5352)
30 noblacklist ${HOME}/.config/mozilla
31 noblacklist ${HOME}/.mozilla
32 whitelist ${HOME}/.config/mozilla/firefox/profiles.ini
33 whitelist ${HOME}/.mozilla/firefox/profiles.ini
34
35 mkdir ${HOME}/.cache/kube
36 mkdir ${HOME}/.config/kube
37 mkdir ${HOME}/.config/sink
38 mkdir ${HOME}/.gnupg
39 mkdir ${HOME}/.local/share/kube
40 mkdir ${HOME}/.local/share/sink
41 whitelist ${HOME}/.cache/kube
42 whitelist ${HOME}/.config/kube
43 whitelist ${HOME}/.config/sink
44 whitelist ${HOME}/.gnupg
45 whitelist ${HOME}/.local/share/kube
46 whitelist ${HOME}/.local/share/sink
47 whitelist ${RUNUSER}/gnupg
48 whitelist /usr/share/gnupg
49 whitelist /usr/share/gnupg2
50 whitelist /usr/share/kube
51 include whitelist-common.inc
52 include whitelist-runuser-common.inc
53 include whitelist-usr-share-common.inc
54 include whitelist-var-common.inc
55
56 writable-run-user
57
58 apparmor
59 caps.drop all
60 netfilter
61 no3d
62 nodvd
63 nogroups
64 noinput
65 nonewprivs
66 noroot
67 nosound
68 notv
69 nou2f
70 novideo
71 protocol unix,inet,inet6
72 seccomp
73 tracelog
74
75 #disable-mnt
76 # Add "gpg,gpg2,gpg-agent,pinentry-curses,pinentry-emacs,pinentry-fltk,pinentry-gnome3,pinentry-gtk,pinentry-gtk2,pinentry-gtk-2,pinentry-qt,pinentry-qt4,pinentry-tty,pinentry-x2go,pinentry-kwallet" for gpg
77 private-bin kube,sink_synchronizer
78 private-cache
79 private-dev
80 private-etc @tls-ca,@x11
81 private-tmp
82
83 dbus-user filter
84 dbus-user.talk ca.desrt.dconf
85 dbus-user.talk org.freedesktop.Notifications
86 dbus-user.talk org.freedesktop.secrets
87 # Allow D-Bus communication with Firefox for opening links
88 dbus-user.talk org.mozilla.*
89 dbus-system none
90
91 restrict-namespaces