From 7fbe43ec203b33fdfee2377425ce26beaedea6a5 Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Wed, 13 Jan 2021 08:06:37 +0000 Subject: add new profile: shotwell (#3889) * new profile: shotwell * Create shotwell.profile * new profile: shotwell * add shotwell blacklists --- etc/inc/disable-programs.inc | 2 ++ etc/profile-m-z/shotwell.profile | 60 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 etc/profile-m-z/shotwell.profile (limited to 'etc') diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 74cbfbcbe..9c98ea79a 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc @@ -710,6 +710,7 @@ blacklist ${HOME}/.local/share/remmina blacklist ${HOME}/.local/share/rhythmbox blacklist ${HOME}/.local/share/rtv blacklist ${HOME}/.local/share/scribus +blacklist ${HOME}/.local/share/shotwell blacklist ${HOME}/.local/share/signal-cli blacklist ${HOME}/.local/share/sink blacklist ${HOME}/.local/share/smuxi @@ -994,6 +995,7 @@ blacklist ${HOME}/.cache/qBittorrent blacklist ${HOME}/.cache/qupzilla blacklist ${HOME}/.cache/qutebrowser blacklist ${HOME}/.cache/rhythmbox +blacklist ${HOME}/.cache/shotwell blacklist ${HOME}/.cache/simple-scan blacklist ${HOME}/.cache/slimjet blacklist ${HOME}/.cache/smuxi diff --git a/etc/profile-m-z/shotwell.profile b/etc/profile-m-z/shotwell.profile new file mode 100644 index 000000000..749029530 --- /dev/null +++ b/etc/profile-m-z/shotwell.profile @@ -0,0 +1,60 @@ +# Firejail profile for shotwell +# Description: A digital photo organizer designed for the GNOME desktop environment +# This file is overwritten after every install/update +# Persistent local customizations +include shotwell.local +# Persistent global definitions +include globals.local + +noblacklist ${HOME}/.cache/shotwell +noblacklist ${HOME}/.local/share/shotwell + +noblacklist ${PICTURES} +include disable-common.inc +include disable-devel.inc +include disable-exec.inc +include disable-interpreters.inc +include disable-passwdmgr.inc +include disable-programs.inc +include disable-shell.inc +include disable-xdg.inc + +mkdir ${HOME}/.cache/shotwell +mkdir ${HOME}/.local/share/shotwell +whitelist ${HOME}/.cache/shotwell +whitelist ${HOME}/.local/share/shotwell +whitelist ${PICTURES} +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 +nodvd +nogroups +nonewprivs +noroot +nosound +notv +nou2f +novideo +protocol unix +seccomp +shell none +tracelog + +private-bin shotwell +private-cache +private-dev +private-etc alternatives,fonts,machine-id +private-opt none +private-tmp + +dbus-user filter +dbus-user.own org.gnome.Shotwell +dbus-user.talk ca.desrt.dconf +dbus-user.talk org.gtk.vfs.UDisks2VolumeMonitor +dbus-system none -- cgit v1.2.3-70-g09d2