aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/tvnamer.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile-m-z/tvnamer.profile')
-rw-r--r--etc/profile-m-z/tvnamer.profile74
1 files changed, 74 insertions, 0 deletions
diff --git a/etc/profile-m-z/tvnamer.profile b/etc/profile-m-z/tvnamer.profile
new file mode 100644
index 000000000..ccfd07e40
--- /dev/null
+++ b/etc/profile-m-z/tvnamer.profile
@@ -0,0 +1,74 @@
1# Firejail profile for tvnamer
2# Description: Automatic TV episode file renamer
3quiet
4# Persistent local customizations
5include tvnamer.local
6# Persistent global definitions
7include globals.local
8
9blacklist /tmp/.X11-unix
10blacklist /usr/libexec
11blacklist ${RUNUSER}
12
13noblacklist ${HOME}/.config/tvnamer
14noblacklist ${VIDEOS}
15
16# Allow python (blacklisted by disable-interpreters.inc)
17include allow-python2.inc
18include allow-python3.inc
19
20include disable-common.inc
21include disable-devel.inc
22include disable-exec.inc
23include disable-interpreters.inc
24include disable-programs.inc
25include disable-proc.inc
26include disable-shell.inc
27include disable-xdg.inc
28
29mkdir ${HOME}/.config/tvnamer
30whitelist ${HOME}/.config/tvnamer
31whitelist ${DOWNLOADS}
32whitelist ${VIDEOS}
33include whitelist-common.inc
34include whitelist-run-common.inc
35include whitelist-usr-share-common.inc
36include whitelist-var-common.inc
37
38apparmor
39caps.drop all
40ipc-namespace
41machine-id
42netfilter
43no3d
44nodvd
45nogroups
46noinput
47nonewprivs
48noprinters
49noroot
50nosound
51notv
52nou2f
53novideo
54protocol unix,inet,inet6
55seccomp
56seccomp.block-secondary
57tracelog
58x11 none
59
60#disable-mnt
61private-bin python*,tvnamer
62private-cache
63private-dev
64private-etc @network,@tls-ca
65private-tmp
66
67dbus-user none
68dbus-system none
69
70read-only ${HOME}
71read-write ${HOME}/.config/tvnamer
72read-write ${DOWNLOADS}
73read-write ${VIDEOS}
74restrict-namespaces