summaryrefslogtreecommitdiff
path: root/archive/.config/firejail/hexographer.profile
blob: 39f0ffee986b2456045ebd0ae265d873ce6f0faa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Firejail profile for hexographer, based on upstream profile for
# terasology

include /etc/firejail/globals.local

noblacklist ${HOME}/.java

include /etc/firejail/disable-common.inc
include /etc/firejail/disable-devel.inc
include /etc/firejail/disable-passwdmgr.inc
include /etc/firejail/disable-programs.inc

mkdir ${HOME}/.java

whitelist ~/.fonts
whitelist ~/.fonts.d
whitelist ~/.fontconfig
whitelist ~/.fonts.conf
whitelist ~/.fonts.conf.d

whitelist ${HOME}/.java
whitelist ${HOME}/lib/annex/.git/annex/objects
read-only ${HOME}/lib/annex/.git/annex/objects
whitelist ${HOME}/lib/annex/big/software
read-only ${HOME}/lib/annex/big/software
# following will require `git annex unlock`
whitelist ${HOME}/lib/annex/doc/gaming
include /etc/firejail/whitelist-common.inc

caps.drop all
ipc-namespace
net none
netfilter
nodvd
nogroups
nonewprivs
noroot
notv
novideo
protocol unix,inet,inet6
seccomp
shell none

disable-mnt
private-dev
# following causes hexographer to use ~/?/.java instead of ~/.java
#private-etc profile,fonts,alternatives,java-9-openjdk,java-8-openjdk,java-7-openjdk
private-tmp

noexec ${HOME}