Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added minitube profile #3555

Merged
merged 2 commits into from
Jul 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions etc/inc/disable-programs.inc
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ blacklist ${HOME}/.config/Element
blacklist ${HOME}/.config/Element (Riot)
blacklist ${HOME}/.config/Enox
blacklist ${HOME}/.config/Ferdi
blacklist ${HOME}/.config/Flavio Tordini
blacklist ${HOME}/.config/Franz
blacklist ${HOME}/.config/FreeCAD
blacklist ${HOME}/.config/FreeTube
Expand Down Expand Up @@ -529,6 +530,7 @@ blacklist ${HOME}/.local/share/3909/PapersPlease
blacklist ${HOME}/.local/share/Anki2
blacklist ${HOME}/.local/share/Empathy
blacklist ${HOME}/.local/share/Enpass
blacklist ${HOME}/.local/share/Flavio Tordini
blacklist ${HOME}/.local/share/JetBrains
blacklist ${HOME}/.local/share/Kingsoft
blacklist ${HOME}/.local/share/Mendeley Ltd.
Expand Down Expand Up @@ -808,6 +810,7 @@ blacklist ${HOME}/.cache/Clementine
blacklist ${HOME}/.cache/Enox
blacklist ${HOME}/.cache/Enpass
blacklist ${HOME}/.cache/Ferdi
blacklist ${HOME}/.cache/Flavio Tordini
blacklist ${HOME}/.cache/Franz
blacklist ${HOME}/.cache/INRIA
blacklist ${HOME}/.cache/MusicBrainz
Expand Down
61 changes: 61 additions & 0 deletions etc/profile-m-z/minitube.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Firejail profile for minitube
# Description: Native Youtube viewer for Linux
# This file is overwritten after every install/update
# Persistent local customizations
include minitube.local
# Persistent global definitions
include globals.local

noblacklist ${PICTURES}
noblacklist ${HOME}/.cache/Flavio Tordini
noblacklist ${HOME}/.config/Flavio Tordini
noblacklist ${HOME}/.local/share/Flavio Tordini

include allow-lua.inc

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

mkdir ${HOME}/.cache/Flavio Tordini
mkdir ${HOME}/.config/Flavio Tordini
mkdir ${HOME}/.local/share/Flavio Tordini
whitelist ${PICTURES}
whitelist ${HOME}/.cache/Flavio Tordini
whitelist ${HOME}/.config/Flavio Tordini
whitelist ${HOME}/.local/share/Flavio Tordini
whitelist /usr/share/minitube
include whitelist-common.inc
include whitelist-runuser-common.inc
include whitelist-usr-share-common.inc
include whitelist-var-common.inc

apparmor
caps.drop all
netfilter
nodvd
nogroups
nonewprivs
noroot
notv
nou2f
rusty-snake marked this conversation as resolved.
Show resolved Hide resolved
novideo
protocol unix,inet,inet6,netlink
seccomp
shell none
tracelog

disable-mnt
private-bin minitube
private-cache
private-dev
private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,drirc,fonts,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,mime.types,nsswitch.conf,pki,pulse,resolv.conf,selinux,ssl,X11,xdg
private-tmp

dbus-user none
dbus-system none
1 change: 1 addition & 0 deletions src/firecfg/firecfg.config
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@ midori
min
mindless
minetest
minitube
mirrormagic
mocp
mousepad
Expand Down