diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-08-03 10:15:02 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-08-03 10:16:42 -0300 |
commit | d765b69e1d4c6d6db011b35417658c3c0c453687 (patch) | |
tree | a93a66e30ea7cd377d1e8572ea8a586ef9122a2f /etc | |
parent | mpsyt.profile: stop creating config paths for mpv/youtube-dl (diff) | |
download | firejail-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.profile | 2 | ||||
-rw-r--r-- | etc/profile-a-l/firefox-common-addons.profile | 4 | ||||
-rw-r--r-- | etc/profile-m-z/QMediathekView.profile | 4 | ||||
-rw-r--r-- | etc/profile-m-z/mediathekview.profile | 2 | ||||
-rw-r--r-- | etc/profile-m-z/mpsyt.profile | 4 | ||||
-rw-r--r-- | etc/profile-m-z/rtv-addons.profile | 4 | ||||
-rw-r--r-- | etc/profile-m-z/smtube.profile | 6 | ||||
-rw-r--r-- | etc/profile-m-z/youtube-viewers-common.profile | 2 |
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. |
15 | noblacklist ${HOME}/.cache/mpv | ||
15 | noblacklist ${HOME}/.config/mpv | 16 | noblacklist ${HOME}/.config/mpv |
16 | noblacklist ${HOME}/.config/pulse | 17 | noblacklist ${HOME}/.config/pulse |
17 | noblacklist ${HOME}/.config/vlc | 18 | noblacklist ${HOME}/.config/vlc |
18 | noblacklist ${HOME}/.local/share/chatterino | 19 | noblacklist ${HOME}/.local/share/chatterino |
19 | noblacklist ${HOME}/.local/share/vlc | 20 | noblacklist ${HOME}/.local/share/vlc |
21 | noblacklist ${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) |
22 | include allow-lua.inc | 24 | include 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 | ||
12 | ignore private-cache | 12 | ignore private-cache |
13 | 13 | ||
14 | noblacklist ${HOME}/.cache/mpv | ||
14 | noblacklist ${HOME}/.cache/youtube-dl | 15 | noblacklist ${HOME}/.cache/youtube-dl |
15 | noblacklist ${HOME}/.config/kgetrc | 16 | noblacklist ${HOME}/.config/kgetrc |
16 | noblacklist ${HOME}/.config/mpv | 17 | noblacklist ${HOME}/.config/mpv |
@@ -32,9 +33,11 @@ noblacklist ${HOME}/.local/share/kget | |||
32 | noblacklist ${HOME}/.local/share/kxmlgui5/okular | 33 | noblacklist ${HOME}/.local/share/kxmlgui5/okular |
33 | noblacklist ${HOME}/.local/share/okular | 34 | noblacklist ${HOME}/.local/share/okular |
34 | noblacklist ${HOME}/.local/share/qpdfview | 35 | noblacklist ${HOME}/.local/share/qpdfview |
36 | noblacklist ${HOME}/.local/state/mpv | ||
35 | noblacklist ${HOME}/.netrc | 37 | noblacklist ${HOME}/.netrc |
36 | 38 | ||
37 | whitelist ${HOME}/.cache/gnome-mplayer/plugin | 39 | whitelist ${HOME}/.cache/gnome-mplayer/plugin |
40 | whitelist ${HOME}/.cache/mpv | ||
38 | whitelist ${HOME}/.cache/youtube-dl/youtube-sigfuncs | 41 | whitelist ${HOME}/.cache/youtube-dl/youtube-sigfuncs |
39 | whitelist ${HOME}/.config/gnome-mplayer | 42 | whitelist ${HOME}/.config/gnome-mplayer |
40 | whitelist ${HOME}/.config/kgetrc | 43 | whitelist ${HOME}/.config/kgetrc |
@@ -62,6 +65,7 @@ whitelist ${HOME}/.local/share/kxmlgui5/okular | |||
62 | whitelist ${HOME}/.local/share/okular | 65 | whitelist ${HOME}/.local/share/okular |
63 | whitelist ${HOME}/.local/share/qpdfview | 66 | whitelist ${HOME}/.local/share/qpdfview |
64 | whitelist ${HOME}/.local/share/tridactyl | 67 | whitelist ${HOME}/.local/share/tridactyl |
68 | whitelist ${HOME}/.local/state/mpv | ||
65 | whitelist ${HOME}/.netrc | 69 | whitelist ${HOME}/.netrc |
66 | whitelist ${HOME}/.pentadactyl | 70 | whitelist ${HOME}/.pentadactyl |
67 | whitelist ${HOME}/.pentadactylrc | 71 | whitelist ${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 | |||
9 | noblacklist ${HOME}/.config/QMediathekView | 9 | noblacklist ${HOME}/.config/QMediathekView |
10 | noblacklist ${HOME}/.local/share/QMediathekView | 10 | noblacklist ${HOME}/.local/share/QMediathekView |
11 | 11 | ||
12 | noblacklist ${HOME}/.cache/mpv | ||
12 | noblacklist ${HOME}/.config/mpv | 13 | noblacklist ${HOME}/.config/mpv |
13 | noblacklist ${HOME}/.config/smplayer | 14 | noblacklist ${HOME}/.config/smplayer |
14 | noblacklist ${HOME}/.config/totem | 15 | noblacklist ${HOME}/.config/totem |
@@ -16,6 +17,7 @@ noblacklist ${HOME}/.config/vlc | |||
16 | noblacklist ${HOME}/.config/xplayer | 17 | noblacklist ${HOME}/.config/xplayer |
17 | noblacklist ${HOME}/.local/share/totem | 18 | noblacklist ${HOME}/.local/share/totem |
18 | noblacklist ${HOME}/.local/share/xplayer | 19 | noblacklist ${HOME}/.local/share/xplayer |
20 | noblacklist ${HOME}/.local/state/mpv | ||
19 | noblacklist ${HOME}/.mplayer | 21 | noblacklist ${HOME}/.mplayer |
20 | noblacklist ${VIDEOS} | 22 | noblacklist ${VIDEOS} |
21 | 23 | ||
@@ -35,6 +37,7 @@ whitelist ${HOME}/.local/share/QMediathekView | |||
35 | whitelist ${DOWNLOADS} | 37 | whitelist ${DOWNLOADS} |
36 | whitelist ${VIDEOS} | 38 | whitelist ${VIDEOS} |
37 | 39 | ||
40 | whitelist ${HOME}/.cache/mpv | ||
38 | whitelist ${HOME}/.config/mpv | 41 | whitelist ${HOME}/.config/mpv |
39 | whitelist ${HOME}/.config/smplayer | 42 | whitelist ${HOME}/.config/smplayer |
40 | whitelist ${HOME}/.config/totem | 43 | whitelist ${HOME}/.config/totem |
@@ -42,6 +45,7 @@ whitelist ${HOME}/.config/vlc | |||
42 | whitelist ${HOME}/.config/xplayer | 45 | whitelist ${HOME}/.config/xplayer |
43 | whitelist ${HOME}/.local/share/totem | 46 | whitelist ${HOME}/.local/share/totem |
44 | whitelist ${HOME}/.local/share/xplayer | 47 | whitelist ${HOME}/.local/share/xplayer |
48 | whitelist ${HOME}/.local/state/mpv | ||
45 | whitelist ${HOME}/.mplayer | 49 | whitelist ${HOME}/.mplayer |
46 | whitelist /usr/share/qtchooser | 50 | whitelist /usr/share/qtchooser |
47 | include whitelist-common.inc | 51 | include 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 |
7 | include globals.local | 7 | include globals.local |
8 | 8 | ||
9 | noblacklist ${HOME}/.cache/mpv | ||
9 | noblacklist ${HOME}/.config/mpv | 10 | noblacklist ${HOME}/.config/mpv |
10 | noblacklist ${HOME}/.config/smplayer | 11 | noblacklist ${HOME}/.config/smplayer |
11 | noblacklist ${HOME}/.config/totem | 12 | noblacklist ${HOME}/.config/totem |
@@ -13,6 +14,7 @@ noblacklist ${HOME}/.config/vlc | |||
13 | noblacklist ${HOME}/.config/xplayer | 14 | noblacklist ${HOME}/.config/xplayer |
14 | noblacklist ${HOME}/.local/share/totem | 15 | noblacklist ${HOME}/.local/share/totem |
15 | noblacklist ${HOME}/.local/share/xplayer | 16 | noblacklist ${HOME}/.local/share/xplayer |
17 | noblacklist ${HOME}/.local/state/mpv | ||
16 | noblacklist ${HOME}/.mediathek3 | 18 | noblacklist ${HOME}/.mediathek3 |
17 | noblacklist ${HOME}/.mplayer | 19 | noblacklist ${HOME}/.mplayer |
18 | noblacklist ${VIDEOS} | 20 | noblacklist ${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 |
7 | include globals.local | 7 | include globals.local |
8 | 8 | ||
9 | noblacklist ${HOME}/.cache/mpv | ||
9 | noblacklist ${HOME}/.config/mps-youtube | 10 | noblacklist ${HOME}/.config/mps-youtube |
10 | noblacklist ${HOME}/.config/mpv | 11 | noblacklist ${HOME}/.config/mpv |
11 | noblacklist ${HOME}/.config/youtube-dl | 12 | noblacklist ${HOME}/.config/youtube-dl |
13 | noblacklist ${HOME}/.local/state/mpv | ||
12 | noblacklist ${HOME}/.mplayer | 14 | noblacklist ${HOME}/.mplayer |
13 | noblacklist ${HOME}/.netrc | 15 | noblacklist ${HOME}/.netrc |
14 | noblacklist ${HOME}/mps | 16 | noblacklist ${HOME}/mps |
@@ -34,9 +36,11 @@ include disable-xdg.inc | |||
34 | mkdir ${HOME}/.config/mps-youtube | 36 | mkdir ${HOME}/.config/mps-youtube |
35 | mkdir ${HOME}/.mplayer | 37 | mkdir ${HOME}/.mplayer |
36 | mkdir ${HOME}/mps | 38 | mkdir ${HOME}/mps |
39 | whitelist ${HOME}/.cache/mpv | ||
37 | whitelist ${HOME}/.config/mps-youtube | 40 | whitelist ${HOME}/.config/mps-youtube |
38 | whitelist ${HOME}/.config/mpv | 41 | whitelist ${HOME}/.config/mpv |
39 | whitelist ${HOME}/.config/youtube-dl | 42 | whitelist ${HOME}/.config/youtube-dl |
43 | whitelist ${HOME}/.local/state/mpv | ||
40 | whitelist ${HOME}/.mplayer | 44 | whitelist ${HOME}/.mplayer |
41 | whitelist ${HOME}/.netrc | 45 | whitelist ${HOME}/.netrc |
42 | whitelist ${HOME}/mps | 46 | whitelist ${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 | |||
11 | ignore private-bin | 11 | ignore private-bin |
12 | ignore dbus-user none | 12 | ignore dbus-user none |
13 | 13 | ||
14 | noblacklist ${HOME}/.cache/mpv | ||
14 | noblacklist ${HOME}/.config/mpv | 15 | noblacklist ${HOME}/.config/mpv |
16 | noblacklist ${HOME}/.local/state/mpv | ||
15 | noblacklist ${HOME}/.mailcap | 17 | noblacklist ${HOME}/.mailcap |
16 | noblacklist ${HOME}/.netrc | 18 | noblacklist ${HOME}/.netrc |
17 | noblacklist ${HOME}/.w3m | 19 | noblacklist ${HOME}/.w3m |
18 | 20 | ||
21 | whitelist ${HOME}/.cache/mpv | ||
19 | whitelist ${HOME}/.cache/youtube-dl/youtube-sigfuncs | 22 | whitelist ${HOME}/.cache/youtube-dl/youtube-sigfuncs |
20 | whitelist ${HOME}/.config/mpv | 23 | whitelist ${HOME}/.config/mpv |
24 | whitelist ${HOME}/.local/state/mpv | ||
21 | whitelist ${HOME}/.mailcap | 25 | whitelist ${HOME}/.mailcap |
22 | whitelist ${HOME}/.netrc | 26 | whitelist ${HOME}/.netrc |
23 | whitelist ${HOME}/.w3m | 27 | whitelist ${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 |
7 | include globals.local | 7 | include globals.local |
8 | 8 | ||
9 | noblacklist ${HOME}/.cache/mpv | ||
10 | noblacklist ${HOME}/.config/mpv | ||
9 | noblacklist ${HOME}/.config/smplayer | 11 | noblacklist ${HOME}/.config/smplayer |
10 | noblacklist ${HOME}/.config/smtube | 12 | noblacklist ${HOME}/.config/smtube |
11 | noblacklist ${HOME}/.config/mpv | ||
12 | noblacklist ${HOME}/.mplayer | ||
13 | noblacklist ${HOME}/.config/vlc | 13 | noblacklist ${HOME}/.config/vlc |
14 | noblacklist ${HOME}/.local/share/vlc | 14 | noblacklist ${HOME}/.local/share/vlc |
15 | noblacklist ${HOME}/.local/state/mpv | ||
16 | noblacklist ${HOME}/.mplayer | ||
15 | noblacklist ${MUSIC} | 17 | noblacklist ${MUSIC} |
16 | noblacklist ${VIDEOS} | 18 | noblacklist ${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 | ||
10 | noblacklist ${HOME}/.cache/mpv | ||
10 | noblacklist ${HOME}/.cache/youtube-dl | 11 | noblacklist ${HOME}/.cache/youtube-dl |
11 | noblacklist ${HOME}/.config/mpv | 12 | noblacklist ${HOME}/.config/mpv |
13 | noblacklist ${HOME}/.local/state/mpv | ||
12 | 14 | ||
13 | # Allow lua (blacklisted by disable-interpreters.inc) | 15 | # Allow lua (blacklisted by disable-interpreters.inc) |
14 | include allow-lua.inc | 16 | include allow-lua.inc |