aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/nano.profile
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2020-04-21 08:24:28 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2020-04-21 08:24:28 -0400
commit018d75775eab4a0f045949a9d069c57686ca2686 (patch)
treeaac3a1a65cca0d4875795c55109a5c3e35efdefb /etc/profile-m-z/nano.profile
parentsmall fixes (diff)
downloadfirejail-018d75775eab4a0f045949a9d069c57686ca2686.tar.gz
firejail-018d75775eab4a0f045949a9d069c57686ca2686.tar.zst
firejail-018d75775eab4a0f045949a9d069c57686ca2686.zip
reorganize github etc directory
Diffstat (limited to 'etc/profile-m-z/nano.profile')
-rw-r--r--etc/profile-m-z/nano.profile55
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
4quiet
5# Persistent local customizations
6include nano.local
7# Persistent global definitions
8include globals.local
9
10blacklist ${RUNUSER}/wayland-*
11
12noblacklist ${HOME}/.config/nano
13noblacklist ${HOME}/.nanorc
14
15include disable-common.inc
16include disable-devel.inc
17include disable-exec.inc
18include disable-interpreters.inc
19include disable-passwdmgr.inc
20include disable-programs.inc
21
22whitelist /usr/share/nano
23include whitelist-usr-share-common.inc
24
25apparmor
26caps.drop all
27ipc-namespace
28machine-id
29net none
30no3d
31nodvd
32nogroups
33nonewprivs
34noroot
35nosound
36notv
37nou2f
38novideo
39protocol unix
40seccomp
41shell none
42tracelog
43x11 none
44
45# disable-mnt
46private-bin nano,rnano
47private-cache
48private-dev
49# Comment the next line if you want to edit files in /etc directly
50private-etc alternatives,nanorc
51
52dbus-user none
53dbus-system none
54
55memory-deny-write-execute