Skip to content

Commit

Permalink
Merge pull request #5631 from glitsj16/inkscape
Browse files Browse the repository at this point in the history
inkscape: additional hardening and settings saving via D-Bus
  • Loading branch information
netblue30 authored Jan 31, 2023
2 parents 97abeac + c001159 commit a185042
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions etc/profile-a-l/inkscape.profile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ noblacklist ${PICTURES}
noblacklist ${HOME}/.config/GIMP
noblacklist ${HOME}/.gimp*


# Allow python (blacklisted by disable-interpreters.inc)
include allow-python2.inc
include allow-python3.inc
Expand All @@ -28,8 +27,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

Expand Down Expand Up @@ -57,8 +67,10 @@ private-dev
private-etc @x11,ImageMagick*,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
restrict-namespaces

0 comments on commit a185042

Please sign in to comment.