mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
new profile mpsyt.profile
This commit is contained in:
parent
49bd0c328e
commit
e17b48fcae
1 changed files with 47 additions and 0 deletions
47
etc/mpsyt.profile
Normal file
47
etc/mpsyt.profile
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
# Firejail profile for mpsyt
|
||||
# Description: Terminal based YouTube player and downloader
|
||||
# This file is overwritten after every install/update
|
||||
# Persistent local customizations
|
||||
include /etc/firejail/mpsyt.local
|
||||
# Persistent global definitions
|
||||
include /etc/firejail/globals.local
|
||||
|
||||
noblacklist ${HOME}/.config/mpv
|
||||
noblacklist ${HOME}/.mplayer
|
||||
noblacklist ${HOME}/.config/mps-youtube
|
||||
noblacklist ${HOME}/.netrc
|
||||
noblacklist ${HOME}/mps
|
||||
noblacklist ${MUSIC}
|
||||
noblacklist ${VIDEOS}
|
||||
|
||||
# Allow python (blacklisted by disable-interpreters.inc)
|
||||
noblacklist ${PATH}/python2*
|
||||
noblacklist ${PATH}/python3*
|
||||
noblacklist /usr/lib/python2*
|
||||
noblacklist /usr/lib/python3*
|
||||
noblacklist /usr/local/lib/python2*
|
||||
noblacklist /usr/local/lib/python3*
|
||||
|
||||
include /etc/firejail/disable-common.inc
|
||||
include /etc/firejail/disable-devel.inc
|
||||
include /etc/firejail/disable-interpreters.inc
|
||||
include /etc/firejail/disable-passwdmgr.inc
|
||||
include /etc/firejail/disable-programs.inc
|
||||
include /etc/firejail/disable-xdg.inc
|
||||
|
||||
include /etc/firejail/whitelist-var-common.inc
|
||||
|
||||
apparmor
|
||||
caps.drop all
|
||||
netfilter
|
||||
# Seems to cause issues with Nvidia drivers sometimes
|
||||
nogroups
|
||||
nonewprivs
|
||||
noroot
|
||||
protocol unix,inet,inet6
|
||||
seccomp
|
||||
shell none
|
||||
tracelog
|
||||
|
||||
private-bin mpsyt,mplayer,mpv,youtube-dl,python*,env
|
||||
private-dev
|
||||
Loading…
Add table
Add a link
Reference in a new issue