aboutsummaryrefslogtreecommitdiffstats
path: root/etc/wesnoth.profile
diff options
context:
space:
mode:
authorLibravatar Tad <tad@spotco.us>2017-08-07 01:22:08 -0400
committerLibravatar Tad <tad@spotco.us>2017-08-07 01:22:08 -0400
commit9e3ba319be6b9546d7e8f450ca419ee2f3f4040b (patch)
tree0aebe82de78a61877c267f4dcb2ebcc13a2e37c9 /etc/wesnoth.profile
parentvarious profile fixes (#1433) (diff)
downloadfirejail-9e3ba319be6b9546d7e8f450ca419ee2f3f4040b.tar.gz
firejail-9e3ba319be6b9546d7e8f450ca419ee2f3f4040b.tar.zst
firejail-9e3ba319be6b9546d7e8f450ca419ee2f3f4040b.zip
Unify all profiles
Diffstat (limited to 'etc/wesnoth.profile')
-rw-r--r--etc/wesnoth.profile31
1 files changed, 15 insertions, 16 deletions
diff --git a/etc/wesnoth.profile b/etc/wesnoth.profile
index a13f80bb6..9798e0ace 100644
--- a/etc/wesnoth.profile
+++ b/etc/wesnoth.profile
@@ -1,19 +1,26 @@
1# Persistent global definitions go here 1# Firejail profile for wesnoth
2include /etc/firejail/globals.local 2# This file is overwritten after every install/update
3 3# Persistent local customizations
4# This file is overwritten during software install.
5# Persistent customizations should go in a .local file.
6include /etc/firejail/wesnoth.local 4include /etc/firejail/wesnoth.local
5# Persistent global definitions
6include /etc/firejail/globals.local
7 7
8# Whitelist-based profile for "Battle for Wesnoth" (game).
9noblacklist ${HOME}/.config/wesnoth
10noblacklist ${HOME}/.cache/wesnoth 8noblacklist ${HOME}/.cache/wesnoth
9noblacklist ${HOME}/.config/wesnoth
11noblacklist ${HOME}/.local/share/wesnoth 10noblacklist ${HOME}/.local/share/wesnoth
12 11
13include /etc/firejail/disable-common.inc 12include /etc/firejail/disable-common.inc
14include /etc/firejail/disable-programs.inc
15include /etc/firejail/disable-devel.inc 13include /etc/firejail/disable-devel.inc
16include /etc/firejail/disable-passwdmgr.inc 14include /etc/firejail/disable-passwdmgr.inc
15include /etc/firejail/disable-programs.inc
16
17mkdir ${HOME}/.cache/wesnoth
18mkdir ${HOME}/.config/wesnoth
19mkdir ${HOME}/.local/share/wesnoth
20whitelist ${HOME}/.cache/wesnoth
21whitelist ${HOME}/.config/wesnoth
22whitelist ${HOME}/.local/share/wesnoth
23include /etc/firejail/whitelist-common.inc
17 24
18caps.drop all 25caps.drop all
19nonewprivs 26nonewprivs
@@ -23,11 +30,3 @@ seccomp
23 30
24private-dev 31private-dev
25private-tmp 32private-tmp
26
27mkdir ${HOME}/.local/share/wesnoth
28mkdir ${HOME}/.config/wesnoth
29mkdir ${HOME}/.cache/wesnoth
30whitelist ${HOME}/.local/share/wesnoth
31whitelist ${HOME}/.config/wesnoth
32whitelist ${HOME}/.cache/wesnoth
33include /etc/firejail/whitelist-common.inc