aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar SkewedZeppelin <8296104+SkewedZeppelin@users.noreply.github.com>2019-02-17 10:36:56 +0000
committerLibravatar GitHub <noreply@github.com>2019-02-17 10:36:56 +0000
commit2021baf92be838b9bc30ff25c24ebcd7fbd3eb62 (patch)
tree3bc4cab6e3633b740d8465623ecc45281f80b1e4
parenttypo (diff)
parentReview mypaint.profile (diff)
downloadfirejail-2021baf92be838b9bc30ff25c24ebcd7fbd3eb62.tar.gz
firejail-2021baf92be838b9bc30ff25c24ebcd7fbd3eb62.tar.zst
firejail-2021baf92be838b9bc30ff25c24ebcd7fbd3eb62.zip
Merge pull request #2412 from rusty-snake/add-mypaint
Add profiles for mypaint & mypaint-ora-thumbnailer
-rw-r--r--etc/disable-programs.inc3
-rw-r--r--etc/mypaint-ora-thumbnailer.profile5
-rw-r--r--etc/mypaint.profile48
-rw-r--r--src/firecfg/firecfg.config2
4 files changed, 58 insertions, 0 deletions
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc
index 32c3ddb07..39aab61c1 100644
--- a/etc/disable-programs.inc
+++ b/etc/disable-programs.inc
@@ -201,6 +201,7 @@ blacklist ${HOME}/.config/mono
201blacklist ${HOME}/.config/mpd 201blacklist ${HOME}/.config/mpd
202blacklist ${HOME}/.config/mpv 202blacklist ${HOME}/.config/mpv
203blacklist ${HOME}/.config/mupen64plus 203blacklist ${HOME}/.config/mupen64plus
204blacklist ${HOME}/.config/mypaint
204blacklist ${HOME}/.config/nautilus 205blacklist ${HOME}/.config/nautilus
205blacklist ${HOME}/.config/nemo 206blacklist ${HOME}/.config/nemo
206blacklist ${HOME}/.config/netsurf 207blacklist ${HOME}/.config/netsurf
@@ -450,6 +451,7 @@ blacklist ${HOME}/.local/share/midori
450blacklist ${HOME}/.local/share/multimc 451blacklist ${HOME}/.local/share/multimc
451blacklist ${HOME}/.local/share/multimc5 452blacklist ${HOME}/.local/share/multimc5
452blacklist ${HOME}/.local/share/mupen64plus 453blacklist ${HOME}/.local/share/mupen64plus
454blacklist ${HOME}/.local/share/mypaint
453blacklist ${HOME}/.local/share/nautilus 455blacklist ${HOME}/.local/share/nautilus
454blacklist ${HOME}/.local/share/nautilus-python 456blacklist ${HOME}/.local/share/nautilus-python
455blacklist ${HOME}/.local/share/nemo 457blacklist ${HOME}/.local/share/nemo
@@ -612,6 +614,7 @@ blacklist ${HOME}/.cache/moonchild productions/basilisk
612blacklist ${HOME}/.cache/moonchild productions/pale moon 614blacklist ${HOME}/.cache/moonchild productions/pale moon
613blacklist ${HOME}/.cache/mozilla 615blacklist ${HOME}/.cache/mozilla
614blacklist ${HOME}/.cache/mutt 616blacklist ${HOME}/.cache/mutt
617blacklist ${HOME}/.cache/mypaint
615blacklist ${HOME}/.cache/nheko/nheko 618blacklist ${HOME}/.cache/nheko/nheko
616blacklist ${HOME}/.cache/netsurf 619blacklist ${HOME}/.cache/netsurf
617blacklist ${HOME}/.cache/okular 620blacklist ${HOME}/.cache/okular
diff --git a/etc/mypaint-ora-thumbnailer.profile b/etc/mypaint-ora-thumbnailer.profile
new file mode 100644
index 000000000..59b3024ed
--- /dev/null
+++ b/etc/mypaint-ora-thumbnailer.profile
@@ -0,0 +1,5 @@
1# Firejail profile alias for mypaint-ora-thumbnailer
2# This file is overwritten after every install/update
3
4# Redirect
5include mypaint.profile
diff --git a/etc/mypaint.profile b/etc/mypaint.profile
new file mode 100644
index 000000000..acec61816
--- /dev/null
+++ b/etc/mypaint.profile
@@ -0,0 +1,48 @@
1# Firejail profile for mypaint
2# Description: A fast and easy graphics application for digital painters
3# This file is overwritten after every install/update
4# Persistent local customizations
5include mypaint.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.cache/mypaint
10noblacklist ${HOME}/.config/mypaint
11noblacklist ${HOME}/.local/share/mypaint
12noblacklist ${PATH}/python2*
13noblacklist /usr/lib/python2*
14noblacklist ${PICTURES}
15
16include disable-common.inc
17include disable-devel.inc
18include disable-interpreters.inc
19include disable-passwdmgr.inc
20include disable-programs.inc
21include disable-xdg.inc
22
23apparmor
24caps.drop all
25machine-id
26net none
27no3d
28nodbus
29nodvd
30nogroups
31nonewprivs
32noroot
33nosound
34notv
35nou2f
36novideo
37protocol unix
38seccomp
39shell none
40tracelog
41
42private-cache
43private-dev
44private-etc fonts,gtk-3.0,dconf
45private-tmp
46
47noexec ${HOME}
48noexec /tmp
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config
index 041ff1256..47b20006d 100644
--- a/src/firecfg/firecfg.config
+++ b/src/firecfg/firecfg.config
@@ -312,6 +312,8 @@ mupen64plus
312musescore 312musescore
313musixmatch 313musixmatch
314mutt 314mutt
315mypaint
316mypaint-ora-thumbnailer
315natron 317natron
316#nautilus - removed in order to let the application start in a new sandbox when clicking on icons in the file manager 318#nautilus - removed in order to let the application start in a new sandbox when clicking on icons in the file manager
317ncdu 319ncdu