aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/gimp.profile
blob: de9db8d0f9d485cb041da799fa0ebccbd12f2942 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Firejail profile for gimp
# Description: GNU Image Manipulation Program
# This file is overwritten after every install/update
# Persistent local customizations
include gimp.local
# Persistent global definitions
include globals.local

# Add the next lines to your gimp.local in order to support scanning via xsane (see #3640).
# TODO: Replace 'ignore seccomp' with a less permissive option.
#ignore seccomp
#ignore dbus-system
#ignore net
#protocol unix,inet,inet6


# gimp plugins are installed by the user in ${HOME}/.gimp-2.8/plug-ins/ directory
# If you are not using external plugins, you can add 'noexec ${HOME}' to your gimp.local.
ignore noexec ${HOME}

nodeny  ${HOME}/.cache/babl
nodeny  ${HOME}/.cache/gegl-0.4
nodeny  ${HOME}/.cache/gimp
nodeny  ${HOME}/.config/GIMP
nodeny  ${HOME}/.gimp*
nodeny  ${DOCUMENTS}
nodeny  ${PICTURES}

include disable-common.inc
include disable-exec.inc
include disable-devel.inc
include disable-passwdmgr.inc
include disable-programs.inc
include disable-xdg.inc

allow  /usr/share/gegl-0.4
allow  /usr/share/gimp
allow  /usr/share/mypaint-data
allow  /usr/share/lensfun
include whitelist-usr-share-common.inc
include whitelist-var-common.inc

apparmor
caps.drop all
net none
nodvd
nogroups
noinput
nonewprivs
noroot
nosound
notv
nou2f
protocol unix
seccomp !mbind
shell none
tracelog

private-dev
private-tmp

dbus-user none
dbus-system none