Skip to content

Commit d4f0c91

Browse files
glitsj16kmk3
authored andcommitted
New profile: tvnamer.profile
Description: Automatic TV episode file renamer. https://github.com/dbr/tvnamer
1 parent df257a8 commit d4f0c91

File tree

3 files changed

+76
-0
lines changed

3 files changed

+76
-0
lines changed

etc/inc/disable-programs.inc

+1
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,7 @@ blacklist ${HOME}/.config/tuir
660660
blacklist ${HOME}/.config/tuta_integration
661661
blacklist ${HOME}/.config/tutanota-desktop
662662
blacklist ${HOME}/.config/tvbrowser
663+
blacklist ${HOME}/.config/tvnamer
663664
blacklist ${HOME}/.config/uGet
664665
blacklist ${HOME}/.config/ueberzugpp
665666
blacklist ${HOME}/.config/ungoogled-chromium

etc/profile-m-z/tvnamer.profile

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

src/firecfg/firecfg.config

+1
Original file line numberDiff line numberDiff line change
@@ -896,6 +896,7 @@ tuir
896896
tutanota-desktop
897897
tuxguitar
898898
tvbrowser
899+
tvnamer
899900
twitch
900901
udiskie
901902
uefitool

0 commit comments

Comments
 (0)