diff options
author | 2018-03-24 09:14:58 -0400 | |
---|---|---|
committer | 2018-03-24 09:14:58 -0400 | |
commit | 208db6c3fa38d7792e95e3d5e559330b5873f14f (patch) | |
tree | 9e3096260b1c3dd77ecd150f6ab0bf2ef1b1522e /etc | |
parent | fixes (diff) | |
parent | gnome-recipes profile (diff) | |
download | firejail-208db6c3fa38d7792e95e3d5e559330b5873f14f.tar.gz firejail-208db6c3fa38d7792e95e3d5e559330b5873f14f.tar.zst firejail-208db6c3fa38d7792e95e3d5e559330b5873f14f.zip |
Merge pull request #1828 from glitsj16/gnome-recipes
gnome-recipes profile
Diffstat (limited to 'etc')
-rw-r--r-- | etc/disable-programs.inc | 1 | ||||
-rw-r--r-- | etc/gnome-recipes.profile | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc index 0d542c6d8..30ab75d03 100644 --- a/etc/disable-programs.inc +++ b/etc/disable-programs.inc | |||
@@ -369,6 +369,7 @@ blacklist ${HOME}/.local/share/gnome-2048 | |||
369 | blacklist ${HOME}/.local/share/gnome-chess | 369 | blacklist ${HOME}/.local/share/gnome-chess |
370 | blacklist ${HOME}/.local/share/gnome-music | 370 | blacklist ${HOME}/.local/share/gnome-music |
371 | blacklist ${HOME}/.local/share/gnome-photos | 371 | blacklist ${HOME}/.local/share/gnome-photos |
372 | blacklist ${HOME}/.local/share/gnome-recipes | ||
372 | blacklist ${HOME}/.local/share/gnome-ring | 373 | blacklist ${HOME}/.local/share/gnome-ring |
373 | blacklist ${HOME}/.local/share/gnome-twitch | 374 | blacklist ${HOME}/.local/share/gnome-twitch |
374 | blacklist ${HOME}/.local/share/gwenview | 375 | blacklist ${HOME}/.local/share/gwenview |
diff --git a/etc/gnome-recipes.profile b/etc/gnome-recipes.profile new file mode 100644 index 000000000..a546a60d2 --- /dev/null +++ b/etc/gnome-recipes.profile | |||
@@ -0,0 +1,43 @@ | |||
1 | # Firejail profile for gnome-recipes | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include /etc/firejail/gnome-recipes.local | ||
5 | # Persistent global definitions | ||
6 | include /etc/firejail/globals.local | ||
7 | |||
8 | mkdir ${HOME}/.cache/gnome-recipes | ||
9 | whitelist ${HOME}/.cache/gnome-recipes | ||
10 | |||
11 | noblacklist ${HOME}/.local/share/gnome-recipes | ||
12 | |||
13 | include /etc/firejail/disable-common.inc | ||
14 | include /etc/firejail/disable-devel.inc | ||
15 | include /etc/firejail/disable-passwdmgr.inc | ||
16 | include /etc/firejail/disable-programs.inc | ||
17 | include /etc/firejail/whitelist-common.inc | ||
18 | |||
19 | caps.drop all | ||
20 | ipc-namespace | ||
21 | netfilter | ||
22 | nodvd | ||
23 | nogroups | ||
24 | nonewprivs | ||
25 | noroot | ||
26 | nosound | ||
27 | notv | ||
28 | novideo | ||
29 | protocol unix,inet,inet6 | ||
30 | seccomp | ||
31 | shell none | ||
32 | |||
33 | disable-mnt | ||
34 | private-bin gnome-recipes,tar | ||
35 | private-dev | ||
36 | private-etc ca-certificates,fonts,ssl | ||
37 | # private-lib works for me with Gnome Shell 3.26.2, Mutter WM (Arch Linux) | ||
38 | # not widely tested though, leaving it to devs discretion to enable it later | ||
39 | #private-lib gdk-pixbuf-2.0,gio,gvfs/libgvfscommon.so,libgconf-2.so.4,libgnutls.so.30,libjpeg.so.8,libp11-kit.so.0,libproxy.so.1,librsvg-2.so.2 | ||
40 | private-tmp | ||
41 | |||
42 | noexec ${HOME} | ||
43 | noexec /tmp | ||