From 04261d1b8dfbe050062bed95940f1fd4af0e84f1 Mon Sep 17 00:00:00 2001 From: Bundy01 Date: Sat, 2 Feb 2019 00:18:53 +0100 Subject: [PATCH] geary profile --- geary.profile | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 geary.profile diff --git a/geary.profile b/geary.profile new file mode 100644 index 00000000..7fc736b7 --- /dev/null +++ b/geary.profile @@ -0,0 +1,47 @@ +# Firejail profile for geary +# Description: Lightweight email client designed for the GNOME desktop +# This file is overwritten after every install/update +# Persistent local customizations +include geary.local +# Persistent global definitions +include globals.local + +# Users have Geary set to open a browser by clicking a link in an email +# We are not allowed to blacklist browser-specific directories + +# Allow python (blacklisted by disable-interpreters.inc) +noblacklist ${PATH}/python2* +noblacklist ${PATH}/python3* +noblacklist /usr/lib/python2* +noblacklist /usr/lib/python3* + +noblacklist ${HOME}/.gnupg +noblacklist ${HOME}/.local/share/geary +noblacklist ${HOME}/.config/geary + +mkdir ${HOME}/.gnupg +mkdir ${HOME}/.config/geary +mkdir ${HOME}/.local/share/geary + +whitelist ${HOME}/.gnupg +whitelist ${HOME}/.config/geary +whitelist ${HOME}/.local/share/geary + +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 + +ignore nodbus +ignore private-tmp + +private-dev + + +read-only ${HOME}/.config/mimeapps.list + +# allow browsers +# Redirect +include firefox.profile