Debian Codegraph @

etc/profile-a-l/inkscape.profile

raw
1 # Firejail profile for inkscape
2 # Description: Vector-based drawing program
3 # This file is overwritten after every install/update
4 quiet
5 # Persistent local customizations
6 include inkscape.local
7 # Persistent global definitions
8 include globals.local
9
10 noblacklist ${HOME}/.cache/inkscape
11 noblacklist ${HOME}/.config/inkscape
12 noblacklist ${HOME}/.inkscape
13 noblacklist ${DOCUMENTS}
14 noblacklist ${PICTURES}
15 # Allow exporting .xcf files
16 noblacklist ${HOME}/.config/GIMP
17 noblacklist ${HOME}/.gimp*
18
19 # Allow python (blacklisted by disable-interpreters.inc)
20 include allow-python2.inc
21 include allow-python3.inc
22
23 include disable-common.inc
24 include disable-devel.inc
25 include disable-exec.inc
26 include disable-interpreters.inc
27 include disable-programs.inc
28 include disable-xdg.inc
29
30 mkdir ${HOME}/.cache/inkscape
31 mkdir ${HOME}/.config/inkscape
32 mkdir ${HOME}/.inkscape
33 whitelist ${DOCUMENTS}
34 whitelist ${DOWNLOADS}
35 whitelist ${PICTURES}
36 whitelist ${HOME}/.cache/inkscape
37 whitelist ${HOME}/.config/inkscape
38 whitelist ${HOME}/.inkscape
39 whitelist /usr/share/inkscape
40 include whitelist-common.inc
41 include whitelist-run-common.inc
42 include whitelist-runuser-common.inc
43 include whitelist-usr-share-common.inc
44 include whitelist-var-common.inc
45
46 apparmor
47 caps.drop all
48 ipc-namespace
49 machine-id
50 net none
51 nodvd
52 nogroups
53 noinput
54 nonewprivs
55 noroot
56 nosound
57 notv
58 nou2f
59 novideo
60 protocol unix
61 seccomp
62 tracelog
63
64 #private-bin inkscape,potrace,python* # problems on Debian stretch
65 private-cache
66 private-dev
67 private-etc @x11,ImageMagick*,python*
68 private-tmp
69
70 dbus-user filter
71 dbus-user.own org.inkscape.Inkscape
72 dbus-user.talk ca.desrt.dconf
73 dbus-user.talk org.gtk.vfs.*
74 dbus-system none
75
76 restrict-namespaces