aboutsummaryrefslogtreecommitdiffstats
path: root/etc/wesnoth.profile
blob: 212466f5a6d3f8c5cd2c8755eb6fe133c502ecd2 (plain) (blame)
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
# This file is overwritten during software install.
# Persistent customizations should go in a .local file.
include /etc/firejail/wesnoth.local

# Whitelist-based profile for "Battle for Wesnoth" (game).
noblacklist ${HOME}/.config/wesnoth
noblacklist ${HOME}/.cache/wesnoth
noblacklist ${HOME}/.local/share/wesnoth

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

caps.drop all
nonewprivs
noroot
protocol unix,inet,inet6
seccomp

private-dev
private-tmp

mkdir ${HOME}/.local/share/wesnoth
mkdir ${HOME}/.config/wesnoth
mkdir ${HOME}/.cache/wesnoth
whitelist ${HOME}/.local/share/wesnoth
whitelist ${HOME}/.config/wesnoth
whitelist ${HOME}/.cache/wesnoth
include /etc/firejail/whitelist-common.inc