aboutsummaryrefslogtreecommitdiffstats
path: root/etc/i2prouter.profile
diff options
context:
space:
mode:
authorLibravatar core_contingency <ccontingency@gmail.com>2019-08-21 04:27:55 -0700
committerLibravatar core_contingency <ccontingency@gmail.com>2019-08-21 15:11:03 -0700
commitbd470dccbc5d5ab41fde0246dbddd565134aa03b (patch)
treee2e59cf3f1235da02571599ad118004d4a193f22 /etc/i2prouter.profile
parentApply suggestions from code review (diff)
downloadfirejail-bd470dccbc5d5ab41fde0246dbddd565134aa03b.tar.gz
firejail-bd470dccbc5d5ab41fde0246dbddd565134aa03b.tar.zst
firejail-bd470dccbc5d5ab41fde0246dbddd565134aa03b.zip
Applied further suggestions from code review
Diffstat (limited to 'etc/i2prouter.profile')
-rw-r--r--etc/i2prouter.profile13
1 files changed, 10 insertions, 3 deletions
diff --git a/etc/i2prouter.profile b/etc/i2prouter.profile
index 765b23a6a..1a44d8069 100644
--- a/etc/i2prouter.profile
+++ b/etc/i2prouter.profile
@@ -11,7 +11,7 @@ include globals.local
11# This profile will not currently work with any Arch User Repository i2p packages, 11# This profile will not currently work with any Arch User Repository i2p packages,
12# use the distro-independent official java installer instead 12# use the distro-independent official java installer instead
13 13
14# Only needed if i2prouter binary is not in home directory, ubuntu official ppa package does this 14# Only needed if i2prouter binary is in home directory, java installer does this
15ignore noexec ${HOME} 15ignore noexec ${HOME}
16 16
17noblacklist ${HOME}/.config/i2p 17noblacklist ${HOME}/.config/i2p
@@ -23,6 +23,7 @@ noblacklist /usr/sbin
23 23
24# Allow java (blacklisted by disable-devel.inc) 24# Allow java (blacklisted by disable-devel.inc)
25include allow-java.inc 25include allow-java.inc
26
26include disable-common.inc 27include disable-common.inc
27include disable-devel.inc 28include disable-devel.inc
28include disable-exec.inc 29include disable-exec.inc
@@ -31,13 +32,19 @@ include disable-passwdmgr.inc
31include disable-programs.inc 32include disable-programs.inc
32include disable-xdg.inc 33include disable-xdg.inc
33 34
34whitelist ${HOME}/.config/I2P 35mkdir ${HOME}/.config/i2p
36mkdir ${HOME}/.i2p
37mkdir ${HOME}/.local/share/i2p
38mkdir ${HOME}/i2p
39whitelist ${HOME}/.config/i2p
35whitelist ${HOME}/.i2p 40whitelist ${HOME}/.i2p
36whitelist ${HOME}/.local/share/I2P 41whitelist ${HOME}/.local/share/i2p
37whitelist ${HOME}/i2p 42whitelist ${HOME}/i2p
38# Only needed if wrapper is placed in /usr/sbin/, ubuntu official ppa package does this 43# Only needed if wrapper is placed in /usr/sbin/, ubuntu official ppa package does this
39whitelist /usr/sbin/wrapper* 44whitelist /usr/sbin/wrapper*
40 45
46include whitelist-common.inc
47
41# May break I2P if wrapper is placed in the home directory 48# May break I2P if wrapper is placed in the home directory
42# If using ubuntu official ppa, this should be fine to uncomment, as it puts wrapper in /usr/sbin/ 49# If using ubuntu official ppa, this should be fine to uncomment, as it puts wrapper in /usr/sbin/
43#apparmor 50#apparmor