aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/nautilus.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile-m-z/nautilus.profile')
-rw-r--r--etc/profile-m-z/nautilus.profile44
1 files changed, 44 insertions, 0 deletions
diff --git a/etc/profile-m-z/nautilus.profile b/etc/profile-m-z/nautilus.profile
new file mode 100644
index 000000000..e003488de
--- /dev/null
+++ b/etc/profile-m-z/nautilus.profile
@@ -0,0 +1,44 @@
1# Firejail profile for nautilus
2# Description: File manager and graphical shell for GNOME
3# This file is overwritten after every install/update
4# Persistent local customizations
5include nautilus.local
6# Persistent global definitions
7include globals.local
8
9# Nautilus is started by systemd on most systems. Therefore it is not firejailed by default. Since there
10# is already a nautilus process running on gnome desktops firejail will have no effect.
11
12noblacklist ${HOME}/.config/nautilus
13noblacklist ${HOME}/.local/share/Trash
14noblacklist ${HOME}/.local/share/nautilus
15noblacklist ${HOME}/.local/share/nautilus-python
16
17# Allow python (blacklisted by disable-interpreters.inc)
18include allow-python2.inc
19include allow-python3.inc
20
21include disable-common.inc
22include disable-devel.inc
23include disable-interpreters.inc
24include disable-passwdmgr.inc
25# include disable-programs.inc
26
27allusers
28caps.drop all
29netfilter
30nodvd
31nogroups
32nonewprivs
33noroot
34notv
35novideo
36protocol unix
37seccomp
38shell none
39tracelog
40
41# nautilus needs to be able to start arbitrary applications so we cannot blacklist their files
42# private-bin nautilus
43# private-dev
44# private-tmp