aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2021-01-23 20:13:28 +0000
committerLibravatar GitHub <noreply@github.com>2021-01-23 20:13:28 +0000
commit526426530915249741e14b8b1ac333872b158e57 (patch)
treebc3ef032a577e7fc9bed67a1c8d2c328b5cc48a9
parentUpdate bibletime.profile, add new whitelist (#3908) (diff)
downloadfirejail-526426530915249741e14b8b1ac333872b158e57.tar.gz
firejail-526426530915249741e14b8b1ac333872b158e57.tar.zst
firejail-526426530915249741e14b8b1ac333872b158e57.zip
refactor google-earth{-pro} (#3915)
* refactor google-earth{-pro} blacklisting * fix google-earth-pro.profile I've included all binaries found in the Arch Linux AUR package to private-bin. But I also added a note on ignoring private-bin because I'm not sure what google-earth is doing on other distro's. * unbreak google-earth.profile Not sure why we need grep, ls and sed in private-bin exactly but keeping them around wouldn't hurt too much I guess.
-rw-r--r--etc/inc/disable-programs.inc5
-rw-r--r--etc/profile-a-l/google-earth-pro.profile11
-rw-r--r--etc/profile-a-l/google-earth.profile15
3 files changed, 13 insertions, 18 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc
index 8b81927e3..1d1de6044 100644
--- a/etc/inc/disable-programs.inc
+++ b/etc/inc/disable-programs.inc
@@ -469,10 +469,7 @@ blacklist ${HOME}/.gimp*
469blacklist ${HOME}/.gist 469blacklist ${HOME}/.gist
470blacklist ${HOME}/.gitconfig 470blacklist ${HOME}/.gitconfig
471blacklist ${HOME}/.gnome/gnome-schedule 471blacklist ${HOME}/.gnome/gnome-schedule
472blacklist ${HOME}/.googleearth/Cache 472blacklist ${HOME}/.googleearth
473blacklist ${HOME}/.googleearth/Temp
474blacklist ${HOME}/.googleearth/myplaces.backup.kml
475blacklist ${HOME}/.googleearth/myplaces.kml
476blacklist ${HOME}/.gradle 473blacklist ${HOME}/.gradle
477blacklist ${HOME}/.gramps 474blacklist ${HOME}/.gramps
478blacklist ${HOME}/.guayadeque 475blacklist ${HOME}/.guayadeque
diff --git a/etc/profile-a-l/google-earth-pro.profile b/etc/profile-a-l/google-earth-pro.profile
index c1f919769..a0e4f6d86 100644
--- a/etc/profile-a-l/google-earth-pro.profile
+++ b/etc/profile-a-l/google-earth-pro.profile
@@ -1,7 +1,14 @@
1# Firejail profile alias for google-earth 1# Firejail profile for google-earth-pro
2# This file is overwritten after every install/update 2# This file is overwritten after every install/update
3# Persistent local customizations
4include google-earth-pro.local
5# Persistent global definitions
6# added by included profile
7#include globals.local
3 8
4private-bin google-earth-pro 9# If you see errors about missing commands, uncomment the below or put 'ignore private-bin' into your google-earth-pro.local
10#ignore private-bin
11private-bin google-earth-pro,googleearth,googleearth-bin,gpsbabel,readlink,repair_tool,which,xdg-mime,xdg-settings
5 12
6# Redirect 13# Redirect
7include google-earth.profile 14include google-earth.profile
diff --git a/etc/profile-a-l/google-earth.profile b/etc/profile-a-l/google-earth.profile
index a331ef8d2..12b1cbafd 100644
--- a/etc/profile-a-l/google-earth.profile
+++ b/etc/profile-a-l/google-earth.profile
@@ -6,10 +6,7 @@ include google-earth.local
6include globals.local 6include globals.local
7 7
8noblacklist ${HOME}/.config/Google 8noblacklist ${HOME}/.config/Google
9noblacklist ${HOME}/.googleearth/Cache 9noblacklist ${HOME}/.googleearth
10noblacklist ${HOME}/.googleearth/Temp
11noblacklist ${HOME}/.googleearth/myplaces.backup.kml
12noblacklist ${HOME}/.googleearth/myplaces.kml
13 10
14include disable-common.inc 11include disable-common.inc
15include disable-devel.inc 12include disable-devel.inc
@@ -19,15 +16,9 @@ include disable-passwdmgr.inc
19include disable-programs.inc 16include disable-programs.inc
20 17
21mkdir ${HOME}/.config/Google 18mkdir ${HOME}/.config/Google
22mkdir ${HOME}/.googleearth/Cache 19mkdir ${HOME}/.googleearth
23mkdir ${HOME}/.googleearth/Temp
24mkfile ${HOME}/.googleearth/myplaces.backup.kml
25mkfile ${HOME}/.googleearth/myplaces.kml
26whitelist ${HOME}/.config/Google 20whitelist ${HOME}/.config/Google
27whitelist ${HOME}/.googleearth/Cache 21whitelist ${HOME}/.googleearth
28whitelist ${HOME}/.googleearth/Temp
29whitelist ${HOME}/.googleearth/myplaces.backup.kml
30whitelist ${HOME}/.googleearth/myplaces.kml
31include whitelist-common.inc 22include whitelist-common.inc
32 23
33caps.drop all 24caps.drop all