aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/youtube-dl-gui.profile
blob: c846893ef9ee8cb3a9c4d38da6016cafb7548d0c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Firejail profile for youtube-dl-gui
# Description: A cross platform front-end GUI of the popular youtube-dl media downloader
include youtube-dl-gui.local
# This file is overwritten after every install/update
include globals.local

#These are blacklisted by disable-interpreters.inc
include allow-python2.inc
include allow-python3.inc

noblacklist ${HOME}/.config/youtube-dlg

include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-programs.inc
include disable-shell.inc
include disable-xdg.inc

mkdir ${HOME}/.config/youtube-dlg
whitelist ${HOME}/.config/youtube-dlg
whitelist ${DOWNLOADS}
include whitelist-common.inc
include whitelist-runuser-common.inc
include whitelist-usr-share-common.inc
include whitelist-var-common.inc

apparmor
caps.drop all
machine-id
netfilter
nodvd
nogroups
noinput
nonewprivs
noroot
nosound
notv
nou2f
novideo
protocol unix,inet,inet6
seccomp
seccomp.block-secondary
tracelog

disable-mnt
private-bin atomicparsley,ffmpeg,ffprobe,python*,youtube-dl-gui
private-cache
private-dev
private-etc alternatives,ca-certificates,crypto-policies,dconf,fonts,gtk-2.0,gtk-3.0,hostname,hosts,ld.so.cache,ld.so.preload,locale,locale.conf,passwd,pki,resolv.conf,ssl
private-tmp

dbus-user none
dbus-system none

restrict-namespaces