aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2024-03-18 15:08:22 +0000
committerLibravatar GitHub <noreply@github.com>2024-03-18 15:08:22 +0000
commit898273ac8ec3e4366e81dbdf4826b644aff28f09 (patch)
treefaf63a90c4feb480668700fe86b1f72fbc7fcd07
parentNew profile: textroom.profile (#6254) (diff)
downloadfirejail-898273ac8ec3e4366e81dbdf4826b644aff28f09.tar.gz
firejail-898273ac8ec3e4366e81dbdf4826b644aff28f09.tar.zst
firejail-898273ac8ec3e4366e81dbdf4826b644aff28f09.zip
New profile: tvnamer.profile (#6256)
Description: Automatic TV episode file renamer. https://github.com/dbr/tvnamer
-rw-r--r--etc/inc/disable-programs.inc1
-rw-r--r--etc/profile-m-z/tvnamer.profile74
-rw-r--r--src/firecfg/firecfg.config1
3 files changed, 76 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc
index 60f9f8288..126bd54f3 100644
--- a/etc/inc/disable-programs.inc
+++ b/etc/inc/disable-programs.inc
@@ -665,6 +665,7 @@ blacklist ${HOME}/.config/tuir
665blacklist ${HOME}/.config/tuta_integration 665blacklist ${HOME}/.config/tuta_integration
666blacklist ${HOME}/.config/tutanota-desktop 666blacklist ${HOME}/.config/tutanota-desktop
667blacklist ${HOME}/.config/tvbrowser 667blacklist ${HOME}/.config/tvbrowser
668blacklist ${HOME}/.config/tvnamer
668blacklist ${HOME}/.config/uGet 669blacklist ${HOME}/.config/uGet
669blacklist ${HOME}/.config/ueberzugpp 670blacklist ${HOME}/.config/ueberzugpp
670blacklist ${HOME}/.config/ungoogled-chromium 671blacklist ${HOME}/.config/ungoogled-chromium
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
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config
index ba2d108ce..0783de9e1 100644
--- a/src/firecfg/firecfg.config
+++ b/src/firecfg/firecfg.config
@@ -915,6 +915,7 @@ tuir
915tutanota-desktop 915tutanota-desktop
916tuxguitar 916tuxguitar
917tvbrowser 917tvbrowser
918tvnamer
918twitch 919twitch
919udiskie 920udiskie
920uefitool 921uefitool