mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
profiles: add cache/state paths for mpv
On the profiles that allow ~/.config/mpv. Relates to #5936.
This commit is contained in:
parent
f703bf6235
commit
d765b69e1d
8 changed files with 26 additions and 2 deletions
|
|
@ -12,11 +12,13 @@ include globals.local
|
|||
#whitelist ${MUSIC}
|
||||
|
||||
# Also allow access to mpv/vlc, they're usable via streamlink.
|
||||
noblacklist ${HOME}/.cache/mpv
|
||||
noblacklist ${HOME}/.config/mpv
|
||||
noblacklist ${HOME}/.config/pulse
|
||||
noblacklist ${HOME}/.config/vlc
|
||||
noblacklist ${HOME}/.local/share/chatterino
|
||||
noblacklist ${HOME}/.local/share/vlc
|
||||
noblacklist ${HOME}/.local/state/mpv
|
||||
|
||||
# Allow Lua for mpv (blacklisted by disable-interpreters.inc)
|
||||
include allow-lua.inc
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ ignore include whitelist-runuser-common.inc
|
|||
|
||||
ignore private-cache
|
||||
|
||||
noblacklist ${HOME}/.cache/mpv
|
||||
noblacklist ${HOME}/.cache/youtube-dl
|
||||
noblacklist ${HOME}/.config/kgetrc
|
||||
noblacklist ${HOME}/.config/mpv
|
||||
|
|
@ -32,9 +33,11 @@ noblacklist ${HOME}/.local/share/kget
|
|||
noblacklist ${HOME}/.local/share/kxmlgui5/okular
|
||||
noblacklist ${HOME}/.local/share/okular
|
||||
noblacklist ${HOME}/.local/share/qpdfview
|
||||
noblacklist ${HOME}/.local/state/mpv
|
||||
noblacklist ${HOME}/.netrc
|
||||
|
||||
whitelist ${HOME}/.cache/gnome-mplayer/plugin
|
||||
whitelist ${HOME}/.cache/mpv
|
||||
whitelist ${HOME}/.cache/youtube-dl/youtube-sigfuncs
|
||||
whitelist ${HOME}/.config/gnome-mplayer
|
||||
whitelist ${HOME}/.config/kgetrc
|
||||
|
|
@ -62,6 +65,7 @@ whitelist ${HOME}/.local/share/kxmlgui5/okular
|
|||
whitelist ${HOME}/.local/share/okular
|
||||
whitelist ${HOME}/.local/share/qpdfview
|
||||
whitelist ${HOME}/.local/share/tridactyl
|
||||
whitelist ${HOME}/.local/state/mpv
|
||||
whitelist ${HOME}/.netrc
|
||||
whitelist ${HOME}/.pentadactyl
|
||||
whitelist ${HOME}/.pentadactylrc
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ include globals.local
|
|||
noblacklist ${HOME}/.config/QMediathekView
|
||||
noblacklist ${HOME}/.local/share/QMediathekView
|
||||
|
||||
noblacklist ${HOME}/.cache/mpv
|
||||
noblacklist ${HOME}/.config/mpv
|
||||
noblacklist ${HOME}/.config/smplayer
|
||||
noblacklist ${HOME}/.config/totem
|
||||
|
|
@ -16,6 +17,7 @@ noblacklist ${HOME}/.config/vlc
|
|||
noblacklist ${HOME}/.config/xplayer
|
||||
noblacklist ${HOME}/.local/share/totem
|
||||
noblacklist ${HOME}/.local/share/xplayer
|
||||
noblacklist ${HOME}/.local/state/mpv
|
||||
noblacklist ${HOME}/.mplayer
|
||||
noblacklist ${VIDEOS}
|
||||
|
||||
|
|
@ -35,6 +37,7 @@ whitelist ${HOME}/.local/share/QMediathekView
|
|||
whitelist ${DOWNLOADS}
|
||||
whitelist ${VIDEOS}
|
||||
|
||||
whitelist ${HOME}/.cache/mpv
|
||||
whitelist ${HOME}/.config/mpv
|
||||
whitelist ${HOME}/.config/smplayer
|
||||
whitelist ${HOME}/.config/totem
|
||||
|
|
@ -42,6 +45,7 @@ whitelist ${HOME}/.config/vlc
|
|||
whitelist ${HOME}/.config/xplayer
|
||||
whitelist ${HOME}/.local/share/totem
|
||||
whitelist ${HOME}/.local/share/xplayer
|
||||
whitelist ${HOME}/.local/state/mpv
|
||||
whitelist ${HOME}/.mplayer
|
||||
whitelist /usr/share/qtchooser
|
||||
include whitelist-common.inc
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ include mediathekview.local
|
|||
# Persistent global definitions
|
||||
include globals.local
|
||||
|
||||
noblacklist ${HOME}/.cache/mpv
|
||||
noblacklist ${HOME}/.config/mpv
|
||||
noblacklist ${HOME}/.config/smplayer
|
||||
noblacklist ${HOME}/.config/totem
|
||||
|
|
@ -13,6 +14,7 @@ noblacklist ${HOME}/.config/vlc
|
|||
noblacklist ${HOME}/.config/xplayer
|
||||
noblacklist ${HOME}/.local/share/totem
|
||||
noblacklist ${HOME}/.local/share/xplayer
|
||||
noblacklist ${HOME}/.local/state/mpv
|
||||
noblacklist ${HOME}/.mediathek3
|
||||
noblacklist ${HOME}/.mplayer
|
||||
noblacklist ${VIDEOS}
|
||||
|
|
|
|||
|
|
@ -6,9 +6,11 @@ include mpsyt.local
|
|||
# Persistent global definitions
|
||||
include globals.local
|
||||
|
||||
noblacklist ${HOME}/.cache/mpv
|
||||
noblacklist ${HOME}/.config/mps-youtube
|
||||
noblacklist ${HOME}/.config/mpv
|
||||
noblacklist ${HOME}/.config/youtube-dl
|
||||
noblacklist ${HOME}/.local/state/mpv
|
||||
noblacklist ${HOME}/.mplayer
|
||||
noblacklist ${HOME}/.netrc
|
||||
noblacklist ${HOME}/mps
|
||||
|
|
@ -34,9 +36,11 @@ include disable-xdg.inc
|
|||
mkdir ${HOME}/.config/mps-youtube
|
||||
mkdir ${HOME}/.mplayer
|
||||
mkdir ${HOME}/mps
|
||||
whitelist ${HOME}/.cache/mpv
|
||||
whitelist ${HOME}/.config/mps-youtube
|
||||
whitelist ${HOME}/.config/mpv
|
||||
whitelist ${HOME}/.config/youtube-dl
|
||||
whitelist ${HOME}/.local/state/mpv
|
||||
whitelist ${HOME}/.mplayer
|
||||
whitelist ${HOME}/.netrc
|
||||
whitelist ${HOME}/mps
|
||||
|
|
|
|||
|
|
@ -11,13 +11,17 @@ ignore nosound
|
|||
ignore private-bin
|
||||
ignore dbus-user none
|
||||
|
||||
noblacklist ${HOME}/.cache/mpv
|
||||
noblacklist ${HOME}/.config/mpv
|
||||
noblacklist ${HOME}/.local/state/mpv
|
||||
noblacklist ${HOME}/.mailcap
|
||||
noblacklist ${HOME}/.netrc
|
||||
noblacklist ${HOME}/.w3m
|
||||
|
||||
whitelist ${HOME}/.cache/mpv
|
||||
whitelist ${HOME}/.cache/youtube-dl/youtube-sigfuncs
|
||||
whitelist ${HOME}/.config/mpv
|
||||
whitelist ${HOME}/.local/state/mpv
|
||||
whitelist ${HOME}/.mailcap
|
||||
whitelist ${HOME}/.netrc
|
||||
whitelist ${HOME}/.w3m
|
||||
|
|
|
|||
|
|
@ -6,12 +6,14 @@ include smtube.local
|
|||
# Persistent global definitions
|
||||
include globals.local
|
||||
|
||||
noblacklist ${HOME}/.cache/mpv
|
||||
noblacklist ${HOME}/.config/mpv
|
||||
noblacklist ${HOME}/.config/smplayer
|
||||
noblacklist ${HOME}/.config/smtube
|
||||
noblacklist ${HOME}/.config/mpv
|
||||
noblacklist ${HOME}/.mplayer
|
||||
noblacklist ${HOME}/.config/vlc
|
||||
noblacklist ${HOME}/.local/share/vlc
|
||||
noblacklist ${HOME}/.local/state/mpv
|
||||
noblacklist ${HOME}/.mplayer
|
||||
noblacklist ${MUSIC}
|
||||
noblacklist ${VIDEOS}
|
||||
|
||||
|
|
|
|||
|
|
@ -7,8 +7,10 @@ include youtube-viewers-common.local
|
|||
# added by caller profile
|
||||
#include globals.local
|
||||
|
||||
noblacklist ${HOME}/.cache/mpv
|
||||
noblacklist ${HOME}/.cache/youtube-dl
|
||||
noblacklist ${HOME}/.config/mpv
|
||||
noblacklist ${HOME}/.local/state/mpv
|
||||
|
||||
# Allow lua (blacklisted by disable-interpreters.inc)
|
||||
include allow-lua.inc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue