aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/youtube-dl.profile
diff options
context:
space:
mode:
authorLibravatar pirate486743186 <>2023-03-09 01:25:44 +0100
committerLibravatar pirate486743186 <>2023-03-09 01:25:44 +0100
commit98492f4f3f007d2674ff0e60fb8e81a0c231faf2 (patch)
tree08cec699e822744ff7478604edec9553e5425771 /etc/profile-m-z/youtube-dl.profile
parenttesting (diff)
downloadfirejail-98492f4f3f007d2674ff0e60fb8e81a0c231faf2.tar.gz
firejail-98492f4f3f007d2674ff0e60fb8e81a0c231faf2.tar.zst
firejail-98492f4f3f007d2674ff0e60fb8e81a0c231faf2.zip
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