From ed74dadd85faae9f74c05ae1caf50b3c642ea3b1 Mon Sep 17 00:00:00 2001 From: Fred-Barclay Date: Fri, 2 Nov 2018 18:00:55 -0500 Subject: Add Mendeley profile --- etc/mendeleydesktop.profile | 52 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 etc/mendeleydesktop.profile (limited to 'etc/mendeleydesktop.profile') diff --git a/etc/mendeleydesktop.profile b/etc/mendeleydesktop.profile new file mode 100644 index 000000000..280baebdc --- /dev/null +++ b/etc/mendeleydesktop.profile @@ -0,0 +1,52 @@ +# Firejail profile for Mendeley +# Description: Academic software for managing and sharing research papers. +# This file is overwritten after every install/update +# Persistent local customizations +include mendeleydesktop.local +# Persistent global definitions +include globals.local + +noblacklist ${DOCUMENTS} +noblacklist ${DOWNLOADS} +noblacklist ${HOME}/.cache/Mendeley Ltd. +noblacklist ${HOME}/.config/Mendeley Ltd. +noblacklist ${HOME}/.local/share/Mendeley Ltd. +noblacklist ${HOME}/.local/share/data/Mendeley Ltd. +noblacklist ${HOME}/.pki/nssdb + +# Allow python (blacklisted by disable-interpreters.inc) +noblacklist ${PATH}/python2* +noblacklist ${PATH}/python3* +noblacklist /usr/lib/python2* +noblacklist /usr/lib/python3* + +include disable-common.inc +include disable-devel.inc +include disable-interpreters.inc +include disable-passwdmgr.inc +include disable-programs.inc + +include whitelist-var-common.inc + +caps.drop all +netfilter +nodbus +nodvd +nogroups +nonewprivs +noroot +notv +nou2f +novideo +protocol unix,inet,inet6,netlink +seccomp +shell none +tracelog + +disable-mnt +private-bin mendeleydesktop,python*,env,gconftool-2,which,sh,ln,cat,update-desktop-database +private-dev +private-tmp + +noexec ${HOME} +noexec /tmp -- cgit v1.2.3-70-g09d2