forked from netblue30/firejail
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
pirate486743186
authored
Nov 27, 2018
1 parent
49bd0c3
commit e17b48f
Showing
1 changed file
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |