aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-08-03 10:15:02 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-08-03 10:16:42 -0300
commitd765b69e1d4c6d6db011b35417658c3c0c453687 (patch)
treea93a66e30ea7cd377d1e8572ea8a586ef9122a2f /etc
parentmpsyt.profile: stop creating config paths for mpv/youtube-dl (diff)
downloadfirejail-d765b69e1d4c6d6db011b35417658c3c0c453687.tar.gz
firejail-d765b69e1d4c6d6db011b35417658c3c0c453687.tar.zst
firejail-d765b69e1d4c6d6db011b35417658c3c0c453687.zip
profiles: add cache/state paths for mpv
On the profiles that allow ~/.config/mpv. Relates to #5936.
Diffstat (limited to 'etc')
-rw-r--r--etc/profile-a-l/chatterino.profile2
-rw-r--r--etc/profile-a-l/firefox-common-addons.profile4
-rw-r--r--etc/profile-m-z/QMediathekView.profile4
-rw-r--r--etc/profile-m-z/mediathekview.profile2
-rw-r--r--etc/profile-m-z/mpsyt.profile4
-rw-r--r--etc/profile-m-z/rtv-addons.profile4
-rw-r--r--etc/profile-m-z/smtube.profile6
-rw-r--r--etc/profile-m-z/youtube-viewers-common.profile2
8 files changed, 26 insertions, 2 deletions
diff --git a/etc/profile-a-l/chatterino.profile b/etc/profile-a-l/chatterino.profile
index 2df03b10b..2a77b6fd6 100644
--- a/etc/profile-a-l/chatterino.profile
+++ b/etc/profile-a-l/chatterino.profile
@@ -12,11 +12,13 @@ include globals.local
12#whitelist ${MUSIC} 12#whitelist ${MUSIC}
13 13
14# Also allow access to mpv/vlc, they're usable via streamlink. 14# Also allow access to mpv/vlc, they're usable via streamlink.
15noblacklist ${HOME}/.cache/mpv
15noblacklist ${HOME}/.config/mpv 16noblacklist ${HOME}/.config/mpv
16noblacklist ${HOME}/.config/pulse 17noblacklist ${HOME}/.config/pulse
17noblacklist ${HOME}/.config/vlc 18noblacklist ${HOME}/.config/vlc
18noblacklist ${HOME}/.local/share/chatterino 19noblacklist ${HOME}/.local/share/chatterino
19noblacklist ${HOME}/.local/share/vlc 20noblacklist ${HOME}/.local/share/vlc
21noblacklist ${HOME}/.local/state/mpv
20 22
21# Allow Lua for mpv (blacklisted by disable-interpreters.inc) 23# Allow Lua for mpv (blacklisted by disable-interpreters.inc)
22include allow-lua.inc 24include allow-lua.inc
diff --git a/etc/profile-a-l/firefox-common-addons.profile b/etc/profile-a-l/firefox-common-addons.profile
index f12750fda..566e88bf8 100644
--- a/etc/profile-a-l/firefox-common-addons.profile
+++ b/etc/profile-a-l/firefox-common-addons.profile
@@ -11,6 +11,7 @@ ignore include whitelist-runuser-common.inc
11 11
12ignore private-cache 12ignore private-cache
13 13
14noblacklist ${HOME}/.cache/mpv
14noblacklist ${HOME}/.cache/youtube-dl 15noblacklist ${HOME}/.cache/youtube-dl
15noblacklist ${HOME}/.config/kgetrc 16noblacklist ${HOME}/.config/kgetrc
16noblacklist ${HOME}/.config/mpv 17noblacklist ${HOME}/.config/mpv
@@ -32,9 +33,11 @@ noblacklist ${HOME}/.local/share/kget
32noblacklist ${HOME}/.local/share/kxmlgui5/okular 33noblacklist ${HOME}/.local/share/kxmlgui5/okular
33noblacklist ${HOME}/.local/share/okular 34noblacklist ${HOME}/.local/share/okular
34noblacklist ${HOME}/.local/share/qpdfview 35noblacklist ${HOME}/.local/share/qpdfview
36noblacklist ${HOME}/.local/state/mpv
35noblacklist ${HOME}/.netrc 37noblacklist ${HOME}/.netrc
36 38
37whitelist ${HOME}/.cache/gnome-mplayer/plugin 39whitelist ${HOME}/.cache/gnome-mplayer/plugin
40whitelist ${HOME}/.cache/mpv
38whitelist ${HOME}/.cache/youtube-dl/youtube-sigfuncs 41whitelist ${HOME}/.cache/youtube-dl/youtube-sigfuncs
39whitelist ${HOME}/.config/gnome-mplayer 42whitelist ${HOME}/.config/gnome-mplayer
40whitelist ${HOME}/.config/kgetrc 43whitelist ${HOME}/.config/kgetrc
@@ -62,6 +65,7 @@ whitelist ${HOME}/.local/share/kxmlgui5/okular
62whitelist ${HOME}/.local/share/okular 65whitelist ${HOME}/.local/share/okular
63whitelist ${HOME}/.local/share/qpdfview 66whitelist ${HOME}/.local/share/qpdfview
64whitelist ${HOME}/.local/share/tridactyl 67whitelist ${HOME}/.local/share/tridactyl
68whitelist ${HOME}/.local/state/mpv
65whitelist ${HOME}/.netrc 69whitelist ${HOME}/.netrc
66whitelist ${HOME}/.pentadactyl 70whitelist ${HOME}/.pentadactyl
67whitelist ${HOME}/.pentadactylrc 71whitelist ${HOME}/.pentadactylrc
diff --git a/etc/profile-m-z/QMediathekView.profile b/etc/profile-m-z/QMediathekView.profile
index f8b5cec13..0e18b3cdf 100644
--- a/etc/profile-m-z/QMediathekView.profile
+++ b/etc/profile-m-z/QMediathekView.profile
@@ -9,6 +9,7 @@ include globals.local
9noblacklist ${HOME}/.config/QMediathekView 9noblacklist ${HOME}/.config/QMediathekView
10noblacklist ${HOME}/.local/share/QMediathekView 10noblacklist ${HOME}/.local/share/QMediathekView
11 11
12noblacklist ${HOME}/.cache/mpv
12noblacklist ${HOME}/.config/mpv 13noblacklist ${HOME}/.config/mpv
13noblacklist ${HOME}/.config/smplayer 14noblacklist ${HOME}/.config/smplayer
14noblacklist ${HOME}/.config/totem 15noblacklist ${HOME}/.config/totem
@@ -16,6 +17,7 @@ noblacklist ${HOME}/.config/vlc
16noblacklist ${HOME}/.config/xplayer 17noblacklist ${HOME}/.config/xplayer
17noblacklist ${HOME}/.local/share/totem 18noblacklist ${HOME}/.local/share/totem
18noblacklist ${HOME}/.local/share/xplayer 19noblacklist ${HOME}/.local/share/xplayer
20noblacklist ${HOME}/.local/state/mpv
19noblacklist ${HOME}/.mplayer 21noblacklist ${HOME}/.mplayer
20noblacklist ${VIDEOS} 22noblacklist ${VIDEOS}
21 23
@@ -35,6 +37,7 @@ whitelist ${HOME}/.local/share/QMediathekView
35whitelist ${DOWNLOADS} 37whitelist ${DOWNLOADS}
36whitelist ${VIDEOS} 38whitelist ${VIDEOS}
37 39
40whitelist ${HOME}/.cache/mpv
38whitelist ${HOME}/.config/mpv 41whitelist ${HOME}/.config/mpv
39whitelist ${HOME}/.config/smplayer 42whitelist ${HOME}/.config/smplayer
40whitelist ${HOME}/.config/totem 43whitelist ${HOME}/.config/totem
@@ -42,6 +45,7 @@ whitelist ${HOME}/.config/vlc
42whitelist ${HOME}/.config/xplayer 45whitelist ${HOME}/.config/xplayer
43whitelist ${HOME}/.local/share/totem 46whitelist ${HOME}/.local/share/totem
44whitelist ${HOME}/.local/share/xplayer 47whitelist ${HOME}/.local/share/xplayer
48whitelist ${HOME}/.local/state/mpv
45whitelist ${HOME}/.mplayer 49whitelist ${HOME}/.mplayer
46whitelist /usr/share/qtchooser 50whitelist /usr/share/qtchooser
47include whitelist-common.inc 51include whitelist-common.inc
diff --git a/etc/profile-m-z/mediathekview.profile b/etc/profile-m-z/mediathekview.profile
index 19ce6fcd1..ef0c8bcc9 100644
--- a/etc/profile-m-z/mediathekview.profile
+++ b/etc/profile-m-z/mediathekview.profile
@@ -6,6 +6,7 @@ include mediathekview.local
6# Persistent global definitions 6# Persistent global definitions
7include globals.local 7include globals.local
8 8
9noblacklist ${HOME}/.cache/mpv
9noblacklist ${HOME}/.config/mpv 10noblacklist ${HOME}/.config/mpv
10noblacklist ${HOME}/.config/smplayer 11noblacklist ${HOME}/.config/smplayer
11noblacklist ${HOME}/.config/totem 12noblacklist ${HOME}/.config/totem
@@ -13,6 +14,7 @@ noblacklist ${HOME}/.config/vlc
13noblacklist ${HOME}/.config/xplayer 14noblacklist ${HOME}/.config/xplayer
14noblacklist ${HOME}/.local/share/totem 15noblacklist ${HOME}/.local/share/totem
15noblacklist ${HOME}/.local/share/xplayer 16noblacklist ${HOME}/.local/share/xplayer
17noblacklist ${HOME}/.local/state/mpv
16noblacklist ${HOME}/.mediathek3 18noblacklist ${HOME}/.mediathek3
17noblacklist ${HOME}/.mplayer 19noblacklist ${HOME}/.mplayer
18noblacklist ${VIDEOS} 20noblacklist ${VIDEOS}
diff --git a/etc/profile-m-z/mpsyt.profile b/etc/profile-m-z/mpsyt.profile
index dc6d64e83..e4f76855e 100644
--- a/etc/profile-m-z/mpsyt.profile
+++ b/etc/profile-m-z/mpsyt.profile
@@ -6,9 +6,11 @@ include mpsyt.local
6# Persistent global definitions 6# Persistent global definitions
7include globals.local 7include globals.local
8 8
9noblacklist ${HOME}/.cache/mpv
9noblacklist ${HOME}/.config/mps-youtube 10noblacklist ${HOME}/.config/mps-youtube
10noblacklist ${HOME}/.config/mpv 11noblacklist ${HOME}/.config/mpv
11noblacklist ${HOME}/.config/youtube-dl 12noblacklist ${HOME}/.config/youtube-dl
13noblacklist ${HOME}/.local/state/mpv
12noblacklist ${HOME}/.mplayer 14noblacklist ${HOME}/.mplayer
13noblacklist ${HOME}/.netrc 15noblacklist ${HOME}/.netrc
14noblacklist ${HOME}/mps 16noblacklist ${HOME}/mps
@@ -34,9 +36,11 @@ include disable-xdg.inc
34mkdir ${HOME}/.config/mps-youtube 36mkdir ${HOME}/.config/mps-youtube
35mkdir ${HOME}/.mplayer 37mkdir ${HOME}/.mplayer
36mkdir ${HOME}/mps 38mkdir ${HOME}/mps
39whitelist ${HOME}/.cache/mpv
37whitelist ${HOME}/.config/mps-youtube 40whitelist ${HOME}/.config/mps-youtube
38whitelist ${HOME}/.config/mpv 41whitelist ${HOME}/.config/mpv
39whitelist ${HOME}/.config/youtube-dl 42whitelist ${HOME}/.config/youtube-dl
43whitelist ${HOME}/.local/state/mpv
40whitelist ${HOME}/.mplayer 44whitelist ${HOME}/.mplayer
41whitelist ${HOME}/.netrc 45whitelist ${HOME}/.netrc
42whitelist ${HOME}/mps 46whitelist ${HOME}/mps
diff --git a/etc/profile-m-z/rtv-addons.profile b/etc/profile-m-z/rtv-addons.profile
index cc6db5043..3098cf0a0 100644
--- a/etc/profile-m-z/rtv-addons.profile
+++ b/etc/profile-m-z/rtv-addons.profile
@@ -11,13 +11,17 @@ ignore nosound
11ignore private-bin 11ignore private-bin
12ignore dbus-user none 12ignore dbus-user none
13 13
14noblacklist ${HOME}/.cache/mpv
14noblacklist ${HOME}/.config/mpv 15noblacklist ${HOME}/.config/mpv
16noblacklist ${HOME}/.local/state/mpv
15noblacklist ${HOME}/.mailcap 17noblacklist ${HOME}/.mailcap
16noblacklist ${HOME}/.netrc 18noblacklist ${HOME}/.netrc
17noblacklist ${HOME}/.w3m 19noblacklist ${HOME}/.w3m
18 20
21whitelist ${HOME}/.cache/mpv
19whitelist ${HOME}/.cache/youtube-dl/youtube-sigfuncs 22whitelist ${HOME}/.cache/youtube-dl/youtube-sigfuncs
20whitelist ${HOME}/.config/mpv 23whitelist ${HOME}/.config/mpv
24whitelist ${HOME}/.local/state/mpv
21whitelist ${HOME}/.mailcap 25whitelist ${HOME}/.mailcap
22whitelist ${HOME}/.netrc 26whitelist ${HOME}/.netrc
23whitelist ${HOME}/.w3m 27whitelist ${HOME}/.w3m
diff --git a/etc/profile-m-z/smtube.profile b/etc/profile-m-z/smtube.profile
index b617444af..7debd4057 100644
--- a/etc/profile-m-z/smtube.profile
+++ b/etc/profile-m-z/smtube.profile
@@ -6,12 +6,14 @@ include smtube.local
6# Persistent global definitions 6# Persistent global definitions
7include globals.local 7include globals.local
8 8
9noblacklist ${HOME}/.cache/mpv
10noblacklist ${HOME}/.config/mpv
9noblacklist ${HOME}/.config/smplayer 11noblacklist ${HOME}/.config/smplayer
10noblacklist ${HOME}/.config/smtube 12noblacklist ${HOME}/.config/smtube
11noblacklist ${HOME}/.config/mpv
12noblacklist ${HOME}/.mplayer
13noblacklist ${HOME}/.config/vlc 13noblacklist ${HOME}/.config/vlc
14noblacklist ${HOME}/.local/share/vlc 14noblacklist ${HOME}/.local/share/vlc
15noblacklist ${HOME}/.local/state/mpv
16noblacklist ${HOME}/.mplayer
15noblacklist ${MUSIC} 17noblacklist ${MUSIC}
16noblacklist ${VIDEOS} 18noblacklist ${VIDEOS}
17 19
diff --git a/etc/profile-m-z/youtube-viewers-common.profile b/etc/profile-m-z/youtube-viewers-common.profile
index c9d2ea53b..5950c3639 100644
--- a/etc/profile-m-z/youtube-viewers-common.profile
+++ b/etc/profile-m-z/youtube-viewers-common.profile
@@ -7,8 +7,10 @@ include youtube-viewers-common.local
7# added by caller profile 7# added by caller profile
8#include globals.local 8#include globals.local
9 9
10noblacklist ${HOME}/.cache/mpv
10noblacklist ${HOME}/.cache/youtube-dl 11noblacklist ${HOME}/.cache/youtube-dl
11noblacklist ${HOME}/.config/mpv 12noblacklist ${HOME}/.config/mpv
13noblacklist ${HOME}/.local/state/mpv
12 14
13# Allow lua (blacklisted by disable-interpreters.inc) 15# Allow lua (blacklisted by disable-interpreters.inc)
14include allow-lua.inc 16include allow-lua.inc