aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/gnome-maps.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile-a-l/gnome-maps.profile')
-rw-r--r--etc/profile-a-l/gnome-maps.profile64
1 files changed, 64 insertions, 0 deletions
diff --git a/etc/profile-a-l/gnome-maps.profile b/etc/profile-a-l/gnome-maps.profile
new file mode 100644
index 000000000..bf263efa9
--- /dev/null
+++ b/etc/profile-a-l/gnome-maps.profile
@@ -0,0 +1,64 @@
1# Firejail profile for gnome-maps
2# Description: Map application for GNOME
3# This file is overwritten after every install/update
4# Persistent local customizations
5include gnome-maps.local
6# Persistent global definitions
7include globals.local
8
9# Some distributions use gapplications to start gnome-maps over D-Bus. As firecfg cannot handle that, you need to run the following command.
10# sed -e "s/Exec=gapplication launch org.gnome.Maps %U/Exec=gnome-maps %U/" -e "s/DBusActivatable=true/DBusActivatable=false/" "/usr/share/applications/org.gnome.Maps.desktop" > "~/.local/share/applications/org.gnome.Maps.desktop"
11
12# when gjs apps are started via gnome-shell, firejail is not applied because systemd will start them
13
14noblacklist ${HOME}/.cache/champlain
15noblacklist ${HOME}/.cache/org.gnome.Maps
16noblacklist ${HOME}/.local/share/maps-places.json
17
18# Allow gjs (blacklisted by disable-interpreters.inc)
19include allow-gjs.inc
20
21include disable-common.inc
22include disable-devel.inc
23include disable-exec.inc
24include disable-interpreters.inc
25include disable-passwdmgr.inc
26include disable-programs.inc
27include disable-xdg.inc
28
29mkdir ${HOME}/.cache/champlain
30mkfile ${HOME}/.local/share/maps-places.json
31whitelist ${HOME}/.cache/champlain
32whitelist ${HOME}/.local/share/maps-places.json
33whitelist ${DOWNLOADS}
34whitelist ${PICTURES}
35whitelist /usr/share/gnome-maps
36whitelist /usr/share/libgweather
37include whitelist-common.inc
38include whitelist-runuser-common.inc
39include whitelist-usr-share-common.inc
40include whitelist-var-common.inc
41
42apparmor
43caps.drop all
44machine-id
45netfilter
46nodvd
47nogroups
48nonewprivs
49noroot
50nosound
51notv
52nou2f
53novideo
54protocol unix,inet,inet6
55seccomp
56shell none
57tracelog
58
59disable-mnt
60private-bin gjs,gnome-maps
61# private-cache -- gnome-maps cache all maps/satelite-images
62private-dev
63private-etc alternatives,ca-certificates,clutter-1.0,crypto-policies,dconf,drirc,fonts,gconf,gcrypt,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,mime.types,nsswitch.conf,pango,pkcs11,pki,protocols,resolv.conf,rpc,services,ssl,X11,xdg
64private-tmp