aboutsummaryrefslogtreecommitdiffstats
path: root/etc/com.github.johnfactotum.Foliate.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/com.github.johnfactotum.Foliate.profile')
-rw-r--r--etc/com.github.johnfactotum.Foliate.profile62
1 files changed, 62 insertions, 0 deletions
diff --git a/etc/com.github.johnfactotum.Foliate.profile b/etc/com.github.johnfactotum.Foliate.profile
new file mode 100644
index 000000000..39a9a360d
--- /dev/null
+++ b/etc/com.github.johnfactotum.Foliate.profile
@@ -0,0 +1,62 @@
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
5include foliate.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${DOCUMENTS}
10noblacklist ${HOME}/.cache/com.github.johnfactotum.Foliate
11noblacklist ${HOME}/.local/share/com.github.johnfactotum.Foliate
12
13# Allow gjs (blacklisted by disable-interpreters.inc)
14include allow-gjs.inc
15
16include disable-common.inc
17include disable-devel.inc
18include disable-exec.inc
19include disable-interpreters.inc
20include disable-passwdmgr.inc
21include disable-programs.inc
22include disable-xdg.inc
23
24mkdir ${HOME}/.cache/com.github.johnfactotum.Foliate
25mkdir ${HOME}/.local/share/com.github.johnfactotum.Foliate
26whitelist ${HOME}/.cache/com.github.johnfactotum.Foliate
27whitelist ${HOME}/.local/share/com.github.johnfactotum.Foliate
28whitelist ${DOCUMENTS}
29whitelist ${DOWNLOADS}
30whitelist /usr/share/com.github.johnfactotum.Foliate
31whitelist /usr/share/hyphen
32include whitelist-common.inc
33include whitelist-usr-share-common.inc
34include whitelist-var-common.inc
35
36apparmor
37caps.drop all
38machine-id
39net none
40nodvd
41nogroups
42nonewprivs
43noroot
44nosound
45notv
46nou2f
47novideo
48protocol unix
49seccomp
50shell none
51tracelog
52
53disable-mnt
54private-bin com.github.johnfactotum.Foliate,gjs
55private-cache
56private-dev
57private-etc dconf,fonts,gconf,gtk-3.0
58private-tmp
59
60read-only ${HOME}
61read-write ${HOME}/.cache/com.github.johnfactotum.Foliate
62read-write ${HOME}/.local/share/com.github.johnfactotum.Foliate