aboutsummaryrefslogtreecommitdiffstats
path: root/etc/gnome-recipes.profile
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2018-03-24 12:25:14 +0000
committerLibravatar GitHub <noreply@github.com>2018-03-24 12:25:14 +0000
commit2064c3c871bba96cc71abf20dfbf9cab66b3f42c (patch)
tree13fbe7cbb6bcc8cd5633d57f1b741df419a437be /etc/gnome-recipes.profile
parentfixes (diff)
downloadfirejail-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.profile43
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
4include /etc/firejail/gnome-recipes.local
5# Persistent global definitions
6include /etc/firejail/globals.local
7
8mkdir ${HOME}/.cache/gnome-recipes
9whitelist ${HOME}/.cache/gnome-recipes
10
11noblacklist ${HOME}/.local/share/gnome-recipes
12
13include /etc/firejail/disable-common.inc
14include /etc/firejail/disable-devel.inc
15include /etc/firejail/disable-passwdmgr.inc
16include /etc/firejail/disable-programs.inc
17include /etc/firejail/whitelist-common.inc
18
19caps.drop all
20ipc-namespace
21netfilter
22nodvd
23nogroups
24nonewprivs
25noroot
26nosound
27notv
28novideo
29protocol unix,inet,inet6
30seccomp
31shell none
32
33disable-mnt
34private-bin gnome-recipes,tar
35private-dev
36private-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
40private-tmp
41
42noexec ${HOME}
43noexec /tmp