diff options
Diffstat (limited to 'etc/profile-m-z/nano.profile')
-rw-r--r-- | etc/profile-m-z/nano.profile | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/etc/profile-m-z/nano.profile b/etc/profile-m-z/nano.profile new file mode 100644 index 000000000..2a4625896 --- /dev/null +++ b/etc/profile-m-z/nano.profile | |||
@@ -0,0 +1,55 @@ | |||
1 | # Firejail profile for nano | ||
2 | # Description: nano is an easy text editor for the terminal | ||
3 | # This file is overwritten after every install/update | ||
4 | quiet | ||
5 | # Persistent local customizations | ||
6 | include nano.local | ||
7 | # Persistent global definitions | ||
8 | include globals.local | ||
9 | |||
10 | blacklist ${RUNUSER}/wayland-* | ||
11 | |||
12 | noblacklist ${HOME}/.config/nano | ||
13 | noblacklist ${HOME}/.nanorc | ||
14 | |||
15 | include disable-common.inc | ||
16 | include disable-devel.inc | ||
17 | include disable-exec.inc | ||
18 | include disable-interpreters.inc | ||
19 | include disable-passwdmgr.inc | ||
20 | include disable-programs.inc | ||
21 | |||
22 | whitelist /usr/share/nano | ||
23 | include whitelist-usr-share-common.inc | ||
24 | |||
25 | apparmor | ||
26 | caps.drop all | ||
27 | ipc-namespace | ||
28 | machine-id | ||
29 | net none | ||
30 | no3d | ||
31 | nodvd | ||
32 | nogroups | ||
33 | nonewprivs | ||
34 | noroot | ||
35 | nosound | ||
36 | notv | ||
37 | nou2f | ||
38 | novideo | ||
39 | protocol unix | ||
40 | seccomp | ||
41 | shell none | ||
42 | tracelog | ||
43 | x11 none | ||
44 | |||
45 | # disable-mnt | ||
46 | private-bin nano,rnano | ||
47 | private-cache | ||
48 | private-dev | ||
49 | # Comment the next line if you want to edit files in /etc directly | ||
50 | private-etc alternatives,nanorc | ||
51 | |||
52 | dbus-user none | ||
53 | dbus-system none | ||
54 | |||
55 | memory-deny-write-execute | ||