mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
84 lines
2.3 KiB
Text
84 lines
2.3 KiB
Text
# Firejail profile for email-common
|
|
# Description: Common profile for claws-mail and sylpheed email clients
|
|
# This file is overwritten after every install/update
|
|
# Persistent local customizations
|
|
include email-common.local
|
|
# Persistent global definitions
|
|
# added by caller profile
|
|
#include globals.local
|
|
|
|
noblacklist ${HOME}/.bogofilter
|
|
noblacklist ${HOME}/.gnupg
|
|
noblacklist ${HOME}/.mozilla
|
|
noblacklist ${HOME}/.signature
|
|
# when storing mail outside the default ${HOME}/Mail path, 'noblacklist' the custom path in your email-common.local
|
|
# and 'blacklist' it in your disable-common.local too so it is kept hidden from other applications
|
|
noblacklist ${HOME}/Mail
|
|
|
|
noblacklist ${DOCUMENTS}
|
|
|
|
include disable-common.inc
|
|
include disable-devel.inc
|
|
include disable-exec.inc
|
|
include disable-interpreters.inc
|
|
include disable-programs.inc
|
|
include disable-xdg.inc
|
|
|
|
mkdir ${HOME}/.gnupg
|
|
mkfile ${HOME}/.config/mimeapps.list
|
|
mkfile ${HOME}/.signature
|
|
whitelist ${HOME}/.config/mimeapps.list
|
|
whitelist ${HOME}/.mozilla/firefox/profiles.ini
|
|
whitelist ${HOME}/.gnupg
|
|
whitelist ${HOME}/.signature
|
|
whitelist ${DOCUMENTS}
|
|
whitelist ${DOWNLOADS}
|
|
# when storing mail outside the default ${HOME}/Mail path, 'whitelist' the custom path in your email-common.local
|
|
whitelist ${HOME}/Mail
|
|
whitelist ${RUNUSER}/gnupg
|
|
whitelist /usr/share/gnupg
|
|
whitelist /usr/share/gnupg2
|
|
include whitelist-common.inc
|
|
include whitelist-runuser-common.inc
|
|
include whitelist-usr-share-common.inc
|
|
include whitelist-var-common.inc
|
|
|
|
apparmor
|
|
caps.drop all
|
|
machine-id
|
|
netfilter
|
|
no3d
|
|
nodvd
|
|
nogroups
|
|
noinput
|
|
nonewprivs
|
|
noroot
|
|
nosound
|
|
notv
|
|
nou2f
|
|
novideo
|
|
protocol unix,inet,inet6
|
|
seccomp
|
|
seccomp.block-secondary
|
|
tracelog
|
|
|
|
# disable-mnt
|
|
private-cache
|
|
private-dev
|
|
private-etc alternatives,ca-certificates,crypto-policies,dconf,fonts,gcrypt,gnupg,groups,gtk-2.0,gtk-3.0,hostname,hosts,hosts.conf,ld.so.cache,ld.so.preload,localtime,machine-id,mailname,nsswitch.conf,passwd,pki,resolv.conf,selinux,ssl,xdg
|
|
private-tmp
|
|
# encrypting and signing email
|
|
writable-run-user
|
|
|
|
dbus-system none
|
|
|
|
# If you want to read local mail stored in /var/mail, add the following to email-common.local:
|
|
#noblacklist /var/mail
|
|
#noblacklist /var/spool/mail
|
|
#whitelist /var/mail
|
|
#whitelist /var/spool/mail
|
|
#writable-var
|
|
|
|
read-only ${HOME}/.mozilla/firefox/profiles.ini
|
|
read-only ${HOME}/.signature
|
|
restrict-namespaces
|