Debian Codegraph @

etc/profile-a-l/lettura.profile

raw
1 # Firejail profile for lettura
2 # Description: Another free and open-source feed reader
3 # This file is overwritten after every install/update
4 # Persistent local customizations
5 include lettura.local
6 # Persistent global definitions
7 include globals.local
8
9 noblacklist ${HOME}/.cache/lettura
10 noblacklist ${HOME}/.config/com.lettura.dev
11 noblacklist ${HOME}/.lettura
12 noblacklist ${HOME}/.local/share/com.lettura.dev
13
14 # sh is needed to allow Firefox to open links
15 include allow-bin-sh.inc
16
17 include disable-common.inc
18 include disable-devel.inc
19 include disable-exec.inc
20 include disable-interpreters.inc
21 include disable-proc.inc
22 include disable-programs.inc
23 include disable-shell.inc
24 include disable-xdg.inc
25
26 mkdir ${HOME}/.cache/lettura
27 mkdir ${HOME}/.config/com.lettura.dev
28 mkdir ${HOME}/.lettura
29 mkdir ${HOME}/.local/share/com.lettura.dev
30 whitelist ${HOME}/.cache/lettura
31 whitelist ${HOME}/.config/com.lettura.dev
32 whitelist ${HOME}/.lettura
33 whitelist ${HOME}/.local/share/com.lettura.dev
34 whitelist ${DOWNLOADS}
35 include whitelist-common.inc
36 include whitelist-run-common.inc
37 include whitelist-runuser-common.inc
38 include whitelist-usr-share-common.inc
39 include whitelist-var-common.inc
40
41 # The lines below are needed to find the default Firefox profile name, to allow
42 # opening links in an existing instance of Firefox (note that it still fails if
43 # there isn't a Firefox instance running with the default profile; see #5352)
44 noblacklist ${HOME}/.config/mozilla
45 noblacklist ${HOME}/.mozilla
46 whitelist ${HOME}/.config/mozilla/firefox/profiles.ini
47 whitelist ${HOME}/.mozilla/firefox/profiles.ini
48
49 apparmor
50 caps.drop all
51 netfilter
52 nodvd
53 nogroups
54 noinput
55 nonewprivs
56 noprinters
57 noroot
58 #nosound
59 notv
60 nou2f
61 novideo
62 protocol unix,inet,inet6
63 seccomp
64 seccomp.block-secondary
65 tracelog
66
67 disable-mnt
68 private-bin lettura
69 private-cache
70 private-dev
71 private-etc @network,@sound,@tls-ca,@x11,mime.types
72 private-tmp
73
74 dbus-user filter
75 dbus-user.talk org.freedesktop.Notifications
76 ?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher
77 # Allow D-Bus communication with Firefox for opening links
78 dbus-user.talk org.mozilla.*
79 dbus-system none
80
81 restrict-namespaces