Debian Codegraph @

etc/profile-a-l/foliate.profile

raw
1 # Firejail profile for foliate
2 # Description: Simple and modern GTK eBook reader
3 # This file is overwritten after every install/update
4 # Persistent local customizations
5 include foliate.local
6 # Persistent global definitions
7 include globals.local
8
9 noblacklist ${DOCUMENTS}
10 noblacklist ${HOME}/.cache/com.github.johnfactotum.Foliate
11 noblacklist ${HOME}/.local/share/com.github.johnfactotum.Foliate
12
13 # Allow gjs (blacklisted by disable-interpreters.inc)
14 include allow-gjs.inc
15
16 include disable-common.inc
17 include disable-devel.inc
18 include disable-exec.inc
19 include disable-interpreters.inc
20 include disable-programs.inc
21 include disable-shell.inc
22 include disable-xdg.inc
23
24 mkdir ${HOME}/.cache/com.github.johnfactotum.Foliate
25 mkdir ${HOME}/.local/share/com.github.johnfactotum.Foliate
26 whitelist ${HOME}/.cache/com.github.johnfactotum.Foliate
27 whitelist ${HOME}/.local/share/com.github.johnfactotum.Foliate
28 whitelist ${DOCUMENTS}
29 whitelist ${DOWNLOADS}
30 whitelist /usr/share/com.github.johnfactotum.Foliate
31 include whitelist-common.inc
32 include whitelist-usr-share-common.inc
33 include whitelist-var-common.inc
34
35 apparmor
36 caps.drop all
37 machine-id
38 net none
39 nodvd
40 nogroups
41 noinput
42 nonewprivs
43 noroot
44 nosound
45 notv
46 nou2f
47 novideo
48 protocol unix
49 seccomp
50 tracelog
51
52 disable-mnt
53 private-bin foliate,gjs
54 private-cache
55 private-dev
56 private-etc @x11,gconf
57 private-tmp
58
59 read-only ${HOME}
60 read-write ${HOME}/.cache/com.github.johnfactotum.Foliate
61 read-write ${HOME}/.local/share/com.github.johnfactotum.Foliate
62 restrict-namespaces