From 40783c0373cc2bc2ac9be87bc4bf26ecfb8f0250 Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Sun, 29 Jan 2023 08:53:27 +0000 Subject: inkscape: additional hardening and settings saving functionality via D-Bus --- etc/profile-a-l/inkscape.profile | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'etc/profile-a-l') diff --git a/etc/profile-a-l/inkscape.profile b/etc/profile-a-l/inkscape.profile index 1e75781ab..702bebf36 100644 --- a/etc/profile-a-l/inkscape.profile +++ b/etc/profile-a-l/inkscape.profile @@ -28,8 +28,19 @@ include disable-interpreters.inc include disable-programs.inc include disable-xdg.inc +mkdir ${HOME}/.cache/inkscape +mkdir ${HOME}/.config/inkscape +mkdir ${HOME}/.inkscape +whitelist ${DOCUMENTS} +whitelist ${DOWNLOADS} +whitelist ${PICTURES} +whitelist ${HOME}/.cache/inkscape +whitelist ${HOME}/.config/inkscape +whitelist ${HOME}/.inkscape whitelist /usr/share/inkscape +include whitelist-common.inc include whitelist-run-common.inc +include whitelist-runuser-common.inc include whitelist-usr-share-common.inc include whitelist-var-common.inc @@ -57,7 +68,10 @@ private-dev private-etc ImageMagick*,inkscape: GUI,python* private-tmp -dbus-user none +dbus-user filter +dbus-user.own org.inkscape.Inkscape +dbus-user.talk ca.desrt.dconf +dbus-user.talk org.gtk.vfs.* dbus-system none # memory-deny-write-execute -- cgit v1.2.3-70-g09d2