aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/youtube-dl.profile
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2023-03-13 13:27:26 -0400
committerLibravatar GitHub <noreply@github.com>2023-03-13 13:27:26 -0400
commit318b0f66320f69eee63996bb49b4994e2e0bc511 (patch)
tree9e4b701da707b599b3058aa408d0f8b76eb27276 /etc/profile-m-z/youtube-dl.profile
parentMerge branch 'master' of ssh://github.com/netblue30/firejail (diff)
parentrefactor yt-dlp (diff)
downloadfirejail-318b0f66320f69eee63996bb49b4994e2e0bc511.tar.gz
firejail-318b0f66320f69eee63996bb49b4994e2e0bc511.tar.zst
firejail-318b0f66320f69eee63996bb49b4994e2e0bc511.zip
Merge pull request #5715 from pirate486743186/yt-dlp
refactor yt-dlp
Diffstat (limited to 'etc/profile-m-z/youtube-dl.profile')
-rw-r--r--etc/profile-m-z/youtube-dl.profile58
1 files changed, 6 insertions, 52 deletions
diff --git a/etc/profile-m-z/youtube-dl.profile b/etc/profile-m-z/youtube-dl.profile
index 8376b4989..9e81d745d 100644
--- a/etc/profile-m-z/youtube-dl.profile
+++ b/etc/profile-m-z/youtube-dl.profile
@@ -5,63 +5,17 @@ quiet
5# Persistent local customizations 5# Persistent local customizations
6include youtube-dl.local 6include youtube-dl.local
7# Persistent global definitions 7# Persistent global definitions
8include globals.local 8# added by included profile
9 9#include globals.local
10# breaks when installed under ${HOME} via `pip install --user` (see #2833)
11ignore noexec ${HOME}
12 10
13noblacklist ${HOME}/.cache/youtube-dl 11noblacklist ${HOME}/.cache/youtube-dl
14noblacklist ${HOME}/.config/youtube-dl 12noblacklist ${HOME}/.config/youtube-dl
15noblacklist ${HOME}/.netrc
16noblacklist ${MUSIC}
17noblacklist ${VIDEOS}
18 13
19# Allow python (blacklisted by disable-interpreters.inc) 14# Allow python (blacklisted by disable-interpreters.inc)
20include allow-python2.inc 15include allow-python2.inc
21include allow-python3.inc
22
23blacklist /tmp/.X11-unix
24blacklist ${RUNUSER}
25
26include disable-common.inc
27include disable-devel.inc
28include disable-exec.inc
29include disable-interpreters.inc
30include disable-programs.inc
31include disable-shell.inc
32include disable-xdg.inc
33
34include whitelist-usr-share-common.inc
35include whitelist-var-common.inc
36
37apparmor
38caps.drop all
39ipc-namespace
40machine-id
41netfilter
42no3d
43nodvd
44nogroups
45noinput
46nonewprivs
47noroot
48nosound
49notv
50nou2f
51novideo
52protocol unix,inet,inet6
53seccomp
54seccomp.block-secondary
55tracelog
56
57private-bin env,ffmpeg,python*,youtube-dl
58private-cache
59private-dev
60private-etc @tls-ca,mime.types,youtube-dl.conf
61private-tmp
62 16
63dbus-user none 17private-bin youtube-dl
64dbus-system none 18private-etc youtube-dl.conf
65 19
66#memory-deny-write-execute - breaks on Arch (see issue #1803) 20# Redirect
67restrict-namespaces 21include yt-dlp.profile