diff options
author | glitsj16 <glitsj16@users.noreply.github.com> | 2021-01-13 08:06:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-13 08:06:37 +0000 |
commit | 7fbe43ec203b33fdfee2377425ce26beaedea6a5 (patch) | |
tree | 0335bc64d1ff8507025bfbc082583ebe99b1eb6f /etc | |
parent | new profile: mdr (#3888) (diff) | |
download | firejail-7fbe43ec203b33fdfee2377425ce26beaedea6a5.tar.gz firejail-7fbe43ec203b33fdfee2377425ce26beaedea6a5.tar.zst firejail-7fbe43ec203b33fdfee2377425ce26beaedea6a5.zip |
add new profile: shotwell (#3889)
* new profile: shotwell
* Create shotwell.profile
* new profile: shotwell
* add shotwell blacklists
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/disable-programs.inc | 2 | ||||
-rw-r--r-- | etc/profile-m-z/shotwell.profile | 60 |
2 files changed, 62 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 74cbfbcbe..9c98ea79a 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -710,6 +710,7 @@ blacklist ${HOME}/.local/share/remmina | |||
710 | blacklist ${HOME}/.local/share/rhythmbox | 710 | blacklist ${HOME}/.local/share/rhythmbox |
711 | blacklist ${HOME}/.local/share/rtv | 711 | blacklist ${HOME}/.local/share/rtv |
712 | blacklist ${HOME}/.local/share/scribus | 712 | blacklist ${HOME}/.local/share/scribus |
713 | blacklist ${HOME}/.local/share/shotwell | ||
713 | blacklist ${HOME}/.local/share/signal-cli | 714 | blacklist ${HOME}/.local/share/signal-cli |
714 | blacklist ${HOME}/.local/share/sink | 715 | blacklist ${HOME}/.local/share/sink |
715 | blacklist ${HOME}/.local/share/smuxi | 716 | blacklist ${HOME}/.local/share/smuxi |
@@ -994,6 +995,7 @@ blacklist ${HOME}/.cache/qBittorrent | |||
994 | blacklist ${HOME}/.cache/qupzilla | 995 | blacklist ${HOME}/.cache/qupzilla |
995 | blacklist ${HOME}/.cache/qutebrowser | 996 | blacklist ${HOME}/.cache/qutebrowser |
996 | blacklist ${HOME}/.cache/rhythmbox | 997 | blacklist ${HOME}/.cache/rhythmbox |
998 | blacklist ${HOME}/.cache/shotwell | ||
997 | blacklist ${HOME}/.cache/simple-scan | 999 | blacklist ${HOME}/.cache/simple-scan |
998 | blacklist ${HOME}/.cache/slimjet | 1000 | blacklist ${HOME}/.cache/slimjet |
999 | blacklist ${HOME}/.cache/smuxi | 1001 | blacklist ${HOME}/.cache/smuxi |
diff --git a/etc/profile-m-z/shotwell.profile b/etc/profile-m-z/shotwell.profile new file mode 100644 index 000000000..749029530 --- /dev/null +++ b/etc/profile-m-z/shotwell.profile | |||
@@ -0,0 +1,60 @@ | |||
1 | # Firejail profile for shotwell | ||
2 | # Description: A digital photo organizer designed for the GNOME desktop environment | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include shotwell.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.cache/shotwell | ||
10 | noblacklist ${HOME}/.local/share/shotwell | ||
11 | |||
12 | noblacklist ${PICTURES} | ||
13 | include disable-common.inc | ||
14 | include disable-devel.inc | ||
15 | include disable-exec.inc | ||
16 | include disable-interpreters.inc | ||
17 | include disable-passwdmgr.inc | ||
18 | include disable-programs.inc | ||
19 | include disable-shell.inc | ||
20 | include disable-xdg.inc | ||
21 | |||
22 | mkdir ${HOME}/.cache/shotwell | ||
23 | mkdir ${HOME}/.local/share/shotwell | ||
24 | whitelist ${HOME}/.cache/shotwell | ||
25 | whitelist ${HOME}/.local/share/shotwell | ||
26 | whitelist ${PICTURES} | ||
27 | include whitelist-common.inc | ||
28 | include whitelist-runuser-common.inc | ||
29 | include whitelist-usr-share-common.inc | ||
30 | include whitelist-var-common.inc | ||
31 | |||
32 | apparmor | ||
33 | caps.drop all | ||
34 | machine-id | ||
35 | netfilter | ||
36 | nodvd | ||
37 | nogroups | ||
38 | nonewprivs | ||
39 | noroot | ||
40 | nosound | ||
41 | notv | ||
42 | nou2f | ||
43 | novideo | ||
44 | protocol unix | ||
45 | seccomp | ||
46 | shell none | ||
47 | tracelog | ||
48 | |||
49 | private-bin shotwell | ||
50 | private-cache | ||
51 | private-dev | ||
52 | private-etc alternatives,fonts,machine-id | ||
53 | private-opt none | ||
54 | private-tmp | ||
55 | |||
56 | dbus-user filter | ||
57 | dbus-user.own org.gnome.Shotwell | ||
58 | dbus-user.talk ca.desrt.dconf | ||
59 | dbus-user.talk org.gtk.vfs.UDisks2VolumeMonitor | ||
60 | dbus-system none | ||