diff options
author | glitsj16 <glitsj16@users.noreply.github.com> | 2018-03-24 12:25:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-24 12:25:14 +0000 |
commit | 2064c3c871bba96cc71abf20dfbf9cab66b3f42c (patch) | |
tree | 13fbe7cbb6bcc8cd5633d57f1b741df419a437be /etc/gnome-recipes.profile | |
parent | fixes (diff) | |
download | firejail-2064c3c871bba96cc71abf20dfbf9cab66b3f42c.tar.gz firejail-2064c3c871bba96cc71abf20dfbf9cab66b3f42c.tar.zst firejail-2064c3c871bba96cc71abf20dfbf9cab66b3f42c.zip |
Create gnome-recipes.profile
This needs an additional change in `disable-programs.inc` to blacklist ${HOME}/.local/share/gnome-recipes. Note: `private-lib` seems to be a WIP, especially for GNOMA apps. Hence I left it out here, although it works for me. Will come back to that issue later.
Diffstat (limited to 'etc/gnome-recipes.profile')
-rw-r--r-- | etc/gnome-recipes.profile | 43 |
1 files changed, 43 insertions, 0 deletions
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 | ||