aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar kortewegdevries <62639087+kortewegdevries@users.noreply.github.com>2020-07-23 23:22:29 +0530
committerLibravatar GitHub <noreply@github.com>2020-07-23 12:52:29 -0500
commit75f249703ecf8a66b0475c0ce12069fa9b900d50 (patch)
treecf40db62aaac7e50b5fc332cbb892a237196cec0
parentAdded cawbird profile (#3533) (diff)
downloadfirejail-75f249703ecf8a66b0475c0ce12069fa9b900d50.tar.gz
firejail-75f249703ecf8a66b0475c0ce12069fa9b900d50.tar.zst
firejail-75f249703ecf8a66b0475c0ce12069fa9b900d50.zip
Added freetube profile (#3535)
* Added freetube profile Initial * Added freetube profile Second:drop ignore seccomp,add disable-shell See https://github.com/netblue30/firejail/pull/3535
-rw-r--r--etc/inc/disable-programs.inc1
-rw-r--r--etc/profile-a-l/freetube.profile31
-rw-r--r--src/firecfg/firecfg.config1
3 files changed, 33 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc
index f5595d134..d59ce8c73 100644
--- a/etc/inc/disable-programs.inc
+++ b/etc/inc/disable-programs.inc
@@ -87,6 +87,7 @@ blacklist ${HOME}/.config/Enox
87blacklist ${HOME}/.config/Ferdi 87blacklist ${HOME}/.config/Ferdi
88blacklist ${HOME}/.config/Franz 88blacklist ${HOME}/.config/Franz
89blacklist ${HOME}/.config/FreeCAD 89blacklist ${HOME}/.config/FreeCAD
90blacklist ${HOME}/.config/FreeTube
90blacklist ${HOME}/.config/Fritzing 91blacklist ${HOME}/.config/Fritzing
91blacklist ${HOME}/.config/GIMP 92blacklist ${HOME}/.config/GIMP
92blacklist ${HOME}/.config/GitHub Desktop 93blacklist ${HOME}/.config/GitHub Desktop
diff --git a/etc/profile-a-l/freetube.profile b/etc/profile-a-l/freetube.profile
new file mode 100644
index 000000000..1bb39cf87
--- /dev/null
+++ b/etc/profile-a-l/freetube.profile
@@ -0,0 +1,31 @@
1# Firejail profile for freetube
2# Description: Youtube client with local subscription feature
3# This file is overwritten after every install/update
4# Persistent local customizations
5include freetube.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.config/FreeTube
10
11include disable-devel.inc
12include disable-exec.inc
13include disable-interpreters.inc
14include disable-shell.inc
15include disable-xdg.inc
16
17mkdir ${HOME}/.config/FreeTube
18whitelist ${HOME}/.config/FreeTube
19
20shell none
21seccomp !chroot
22
23disable-mnt
24private-bin freetube
25private-cache
26private-dev
27private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,gtk-2.0,gtk-3.0,hosts,host.conf,hostname,mime.types,nsswitch.conf,pki,pulse,resolv.conf,ssl,xdg,X11
28private-tmp
29
30# Redirect
31include electron.profile \ No newline at end of file
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config
index dbe08e216..5d5858496 100644
--- a/src/firecfg/firecfg.config
+++ b/src/firecfg/firecfg.config
@@ -239,6 +239,7 @@ freemind
239freeoffice-planmaker 239freeoffice-planmaker
240freeoffice-presentations 240freeoffice-presentations
241freeoffice-textmaker 241freeoffice-textmaker
242freetube
242freshclam 243freshclam
243frogatto 244frogatto
244frozen-bubble 245frozen-bubble