mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
71 lines
1.9 KiB
Text
71 lines
1.9 KiB
Text
# Firejail profile for firefox
|
|
# This file is overwritten after every install/update
|
|
# Persistent local customizations
|
|
include /etc/firejail/firefox.local
|
|
# Persistent global definitions
|
|
include /etc/firejail/globals.local
|
|
|
|
noblacklist ~/.cache/mozilla
|
|
noblacklist ~/.config/okularpartrc
|
|
noblacklist ~/.config/okularrc
|
|
noblacklist ~/.config/qpdfview
|
|
noblacklist ~/.kde/share/apps/okular
|
|
noblacklist ~/.kde4/share/apps/okular
|
|
noblacklist ~/.local/share/okular
|
|
noblacklist ~/.local/share/qpdfview
|
|
noblacklist ~/.mozilla
|
|
noblacklist ~/.pki
|
|
|
|
include /etc/firejail/disable-common.inc
|
|
include /etc/firejail/disable-devel.inc
|
|
include /etc/firejail/disable-programs.inc
|
|
|
|
mkdir ~/.cache/mozilla/firefox
|
|
mkdir ~/.mozilla
|
|
mkdir ~/.pki
|
|
whitelist ${DOWNLOADS}
|
|
whitelist ~/.cache/gnome-mplayer/plugin
|
|
whitelist ~/.cache/mozilla/firefox
|
|
whitelist ~/.config/gnome-mplayer
|
|
whitelist ~/.config/okularpartrc
|
|
whitelist ~/.config/okularrc
|
|
whitelist ~/.config/pipelight-silverlight5.1
|
|
whitelist ~/.config/pipelight-widevine
|
|
whitelist ~/.config/qpdfview
|
|
whitelist ~/.kde/share/apps/okular
|
|
whitelist ~/.kde4/share/apps/okular
|
|
whitelist ~/.keysnail.js
|
|
whitelist ~/.lastpass
|
|
whitelist ~/.local/share/okular
|
|
whitelist ~/.local/share/qpdfview
|
|
whitelist ~/.mozilla
|
|
whitelist ~/.pentadactyl
|
|
whitelist ~/.pentadactylrc
|
|
whitelist ~/.pki
|
|
whitelist ~/.vimperator
|
|
whitelist ~/.vimperatorrc
|
|
whitelist ~/.wine-pipelight
|
|
whitelist ~/.wine-pipelight64
|
|
whitelist ~/.zotero
|
|
whitelist ~/dwhelper
|
|
include /etc/firejail/whitelist-common.inc
|
|
|
|
caps.drop all
|
|
netfilter
|
|
nogroups
|
|
nonewprivs
|
|
noroot
|
|
notv
|
|
protocol unix,inet,inet6,netlink
|
|
seccomp
|
|
shell none
|
|
tracelog
|
|
|
|
# private-bin firefox,which,sh,dbus-launch,dbus-send,env
|
|
private-dev
|
|
# private-dev might prevent video calls going out
|
|
# private-etc passwd,group,hostname,hosts,localtime,nsswitch.conf,resolv.conf,xdg,gtk-2.0,gtk-3.0,X11,pango,fonts,firefox,mime.types,mailcap,asound.conf,pulse
|
|
private-tmp
|
|
|
|
noexec ${HOME}
|
|
noexec /tmp
|