diff options
author | 2021-12-28 18:42:57 +0000 | |
---|---|---|
committer | 2021-12-28 18:42:57 +0000 | |
commit | 106440f9c42adc78d55b6fa7a6f1893bec02d842 (patch) | |
tree | 9eb0a90252090a5df6f85d74029b21067327e5be /etc/profile-m-z | |
parent | nettrace (diff) | |
parent | mpv.profile: whitelist paths for yt-dlp (diff) | |
download | firejail-106440f9c42adc78d55b6fa7a6f1893bec02d842.tar.gz firejail-106440f9c42adc78d55b6fa7a6f1893bec02d842.tar.zst firejail-106440f9c42adc78d55b6fa7a6f1893bec02d842.zip |
Merge pull request #4755 from kmk3/mpv-add-yt-dlp
yt-dlp: add missing paths & mpv.profile: whitelist paths for yt-dlp
Diffstat (limited to 'etc/profile-m-z')
-rw-r--r-- | etc/profile-m-z/mpv.profile | 13 | ||||
-rw-r--r-- | etc/profile-m-z/yt-dlp.profile | 2 |
2 files changed, 12 insertions, 3 deletions
diff --git a/etc/profile-m-z/mpv.profile b/etc/profile-m-z/mpv.profile index e6faba78a..e58beec0c 100644 --- a/etc/profile-m-z/mpv.profile +++ b/etc/profile-m-z/mpv.profile | |||
@@ -26,7 +26,11 @@ include globals.local | |||
26 | 26 | ||
27 | noblacklist ${HOME}/.config/mpv | 27 | noblacklist ${HOME}/.config/mpv |
28 | noblacklist ${HOME}/.config/youtube-dl | 28 | noblacklist ${HOME}/.config/youtube-dl |
29 | noblacklist ${HOME}/.config/yt-dlp | ||
30 | noblacklist ${HOME}/.config/yt-dlp.conf | ||
29 | noblacklist ${HOME}/.netrc | 31 | noblacklist ${HOME}/.netrc |
32 | noblacklist ${HOME}/yt-dlp.conf | ||
33 | noblacklist ${HOME}/yt-dlp.conf.txt | ||
30 | 34 | ||
31 | # Allow lua (blacklisted by disable-interpreters.inc) | 35 | # Allow lua (blacklisted by disable-interpreters.inc) |
32 | include allow-lua.inc | 36 | include allow-lua.inc |
@@ -46,16 +50,19 @@ include disable-shell.inc | |||
46 | 50 | ||
47 | read-only ${DESKTOP} | 51 | read-only ${DESKTOP} |
48 | mkdir ${HOME}/.config/mpv | 52 | mkdir ${HOME}/.config/mpv |
49 | mkdir ${HOME}/.config/youtube-dl | ||
50 | mkfile ${HOME}/.netrc | 53 | mkfile ${HOME}/.netrc |
51 | whitelist ${HOME}/.config/mpv | 54 | whitelist ${HOME}/.config/mpv |
52 | whitelist ${HOME}/.config/youtube-dl | 55 | whitelist ${HOME}/.config/youtube-dl |
56 | whitelist ${HOME}/.config/yt-dlp | ||
57 | whitelist ${HOME}/.config/yt-dlp.conf | ||
53 | whitelist ${HOME}/.netrc | 58 | whitelist ${HOME}/.netrc |
54 | include whitelist-common.inc | 59 | whitelist ${HOME}/yt-dlp.conf |
55 | include whitelist-player-common.inc | 60 | whitelist ${HOME}/yt-dlp.conf.txt |
56 | whitelist /usr/share/lua | 61 | whitelist /usr/share/lua |
57 | whitelist /usr/share/lua* | 62 | whitelist /usr/share/lua* |
58 | whitelist /usr/share/vulkan | 63 | whitelist /usr/share/vulkan |
64 | include whitelist-common.inc | ||
65 | include whitelist-player-common.inc | ||
59 | include whitelist-usr-share-common.inc | 66 | include whitelist-usr-share-common.inc |
60 | include whitelist-var-common.inc | 67 | include whitelist-var-common.inc |
61 | 68 | ||
diff --git a/etc/profile-m-z/yt-dlp.profile b/etc/profile-m-z/yt-dlp.profile index 32e873aa5..6e835b03f 100644 --- a/etc/profile-m-z/yt-dlp.profile +++ b/etc/profile-m-z/yt-dlp.profile | |||
@@ -10,7 +10,9 @@ include yt-dlp.local | |||
10 | 10 | ||
11 | noblacklist ${HOME}/.cache/yt-dlp | 11 | noblacklist ${HOME}/.cache/yt-dlp |
12 | noblacklist ${HOME}/.config/yt-dlp | 12 | noblacklist ${HOME}/.config/yt-dlp |
13 | noblacklist ${HOME}/.config/yt-dlp.conf | ||
13 | noblacklist ${HOME}/yt-dlp.conf | 14 | noblacklist ${HOME}/yt-dlp.conf |
15 | noblacklist ${HOME}/yt-dlp.conf.txt | ||
14 | 16 | ||
15 | private-bin ffprobe,yt-dlp | 17 | private-bin ffprobe,yt-dlp |
16 | private-etc alternatives,ld.so.cache,ld.so.preload,yt-dlp.conf | 18 | private-etc alternatives,ld.so.cache,ld.so.preload,yt-dlp.conf |