aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2020-11-20 19:56:57 +0100
committerLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2020-11-20 19:56:57 +0100
commit0fa7f9c30fae7627816aa19427f693784dc97a6b (patch)
tree35d026031dd3ffbd75174fe9601d86d1bc046a60 /etc
parenttmpfs testing (diff)
downloadfirejail-0fa7f9c30fae7627816aa19427f693784dc97a6b.tar.gz
firejail-0fa7f9c30fae7627816aa19427f693784dc97a6b.tar.zst
firejail-0fa7f9c30fae7627816aa19427f693784dc97a6b.zip
various profiles
- disable-common: read-only ${HOME}/.zfunc - fix #3761 -- w3m with w3m-img installed does not display images when on virtual console/framebuffer - yelp can be used to display manpages
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/disable-common.inc1
-rw-r--r--etc/profile-m-z/w3m.profile5
-rw-r--r--etc/profile-m-z/yelp.profile7
3 files changed, 11 insertions, 2 deletions
diff --git a/etc/inc/disable-common.inc b/etc/inc/disable-common.inc
index 1268b4cd2..3bdad3138 100644
--- a/etc/inc/disable-common.inc
+++ b/etc/inc/disable-common.inc
@@ -280,6 +280,7 @@ read-only ${HOME}/.plan
280read-only ${HOME}/.profile 280read-only ${HOME}/.profile
281read-only ${HOME}/.project 281read-only ${HOME}/.project
282read-only ${HOME}/.tcshrc 282read-only ${HOME}/.tcshrc
283read-only ${HOME}/.zfunc
283read-only ${HOME}/.zlogin 284read-only ${HOME}/.zlogin
284read-only ${HOME}/.zlogout 285read-only ${HOME}/.zlogout
285read-only ${HOME}/.zprofile 286read-only ${HOME}/.zprofile
diff --git a/etc/profile-m-z/w3m.profile b/etc/profile-m-z/w3m.profile
index bd33edd6a..0e172333a 100644
--- a/etc/profile-m-z/w3m.profile
+++ b/etc/profile-m-z/w3m.profile
@@ -7,6 +7,11 @@ include w3m.local
7# Persistent global definitions 7# Persistent global definitions
8include globals.local 8include globals.local
9 9
10# Uncomment or add to your w3m.local if you want to use w3m-img on a vconsole
11#ignore nogroups
12#ignore private-dev
13#ignore private-etc
14
10noblacklist ${HOME}/.w3m 15noblacklist ${HOME}/.w3m
11 16
12blacklist /tmp/.X11-unix 17blacklist /tmp/.X11-unix
diff --git a/etc/profile-m-z/yelp.profile b/etc/profile-m-z/yelp.profile
index e198af8b2..3ba1dca1a 100644
--- a/etc/profile-m-z/yelp.profile
+++ b/etc/profile-m-z/yelp.profile
@@ -20,7 +20,9 @@ include disable-xdg.inc
20mkdir ${HOME}/.config/yelp 20mkdir ${HOME}/.config/yelp
21whitelist ${HOME}/.config/yelp 21whitelist ${HOME}/.config/yelp
22whitelist /usr/share/doc 22whitelist /usr/share/doc
23whitelist /usr/share/groff
23whitelist /usr/share/help 24whitelist /usr/share/help
25whitelist /usr/share/man
24whitelist /usr/share/yelp 26whitelist /usr/share/yelp
25whitelist /usr/share/yelp-tools 27whitelist /usr/share/yelp-tools
26whitelist /usr/share/yelp-xsl 28whitelist /usr/share/yelp-xsl
@@ -46,10 +48,10 @@ shell none
46tracelog 48tracelog
47 49
48disable-mnt 50disable-mnt
49private-bin yelp 51private-bin groff,man,tbl,troff,yelp
50private-cache 52private-cache
51private-dev 53private-dev
52private-etc alsa,alternatives,asound.conf,crypto-policies,cups,dconf,drirc,fonts,gcrypt,gtk-3.0,machine-id,openal,os-release,pulse,sgml,xml 54private-etc alsa,alternatives,asound.conf,crypto-policies,cups,dconf,drirc,fonts,gcrypt,groff,gtk-3.0,machine-id,man_db.conf,openal,os-release,pulse,sgml,xml
53private-tmp 55private-tmp
54 56
55dbus-system none 57dbus-system none
@@ -60,3 +62,4 @@ dbus-system none
60# 1. yelp --editor-mode 62# 1. yelp --editor-mode
61# 2. saving the window geometry 63# 2. saving the window geometry
62read-only ${HOME} 64read-only ${HOME}
65read-write ${HOME}/.cache