aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2021-01-13 08:06:37 +0000
committerLibravatar GitHub <noreply@github.com>2021-01-13 08:06:37 +0000
commit7fbe43ec203b33fdfee2377425ce26beaedea6a5 (patch)
tree0335bc64d1ff8507025bfbc082583ebe99b1eb6f
parentnew profile: mdr (#3888) (diff)
downloadfirejail-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
-rw-r--r--README.md2
-rw-r--r--etc/inc/disable-programs.inc2
-rw-r--r--etc/profile-m-z/shotwell.profile60
-rw-r--r--src/firecfg/firecfg.config1
4 files changed, 64 insertions, 1 deletions
diff --git a/README.md b/README.md
index 69c08ac02..14ba66e98 100644
--- a/README.md
+++ b/README.md
@@ -195,4 +195,4 @@ Stats:
195 195
196### New profiles: 196### New profiles:
197 197
198spectacle, chromium-browser-privacy, gtk-straw-viewer, gtk-youtube-viewer, gtk2-youtube-viewer, gtk3-youtube-viewer, straw-viewer, lutris, dolphin-emu, authenticator-rs, servo, tutanota-desktop, npm, marker, yarn, lsar, unar, agetpkg, mdr 198spectacle, chromium-browser-privacy, gtk-straw-viewer, gtk-youtube-viewer, gtk2-youtube-viewer, gtk3-youtube-viewer, straw-viewer, lutris, dolphin-emu, authenticator-rs, servo, tutanota-desktop, npm, marker, yarn, lsar, unar, agetpkg, mdr, shotwell
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
710blacklist ${HOME}/.local/share/rhythmbox 710blacklist ${HOME}/.local/share/rhythmbox
711blacklist ${HOME}/.local/share/rtv 711blacklist ${HOME}/.local/share/rtv
712blacklist ${HOME}/.local/share/scribus 712blacklist ${HOME}/.local/share/scribus
713blacklist ${HOME}/.local/share/shotwell
713blacklist ${HOME}/.local/share/signal-cli 714blacklist ${HOME}/.local/share/signal-cli
714blacklist ${HOME}/.local/share/sink 715blacklist ${HOME}/.local/share/sink
715blacklist ${HOME}/.local/share/smuxi 716blacklist ${HOME}/.local/share/smuxi
@@ -994,6 +995,7 @@ blacklist ${HOME}/.cache/qBittorrent
994blacklist ${HOME}/.cache/qupzilla 995blacklist ${HOME}/.cache/qupzilla
995blacklist ${HOME}/.cache/qutebrowser 996blacklist ${HOME}/.cache/qutebrowser
996blacklist ${HOME}/.cache/rhythmbox 997blacklist ${HOME}/.cache/rhythmbox
998blacklist ${HOME}/.cache/shotwell
997blacklist ${HOME}/.cache/simple-scan 999blacklist ${HOME}/.cache/simple-scan
998blacklist ${HOME}/.cache/slimjet 1000blacklist ${HOME}/.cache/slimjet
999blacklist ${HOME}/.cache/smuxi 1001blacklist ${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
5include shotwell.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.cache/shotwell
10noblacklist ${HOME}/.local/share/shotwell
11
12noblacklist ${PICTURES}
13include disable-common.inc
14include disable-devel.inc
15include disable-exec.inc
16include disable-interpreters.inc
17include disable-passwdmgr.inc
18include disable-programs.inc
19include disable-shell.inc
20include disable-xdg.inc
21
22mkdir ${HOME}/.cache/shotwell
23mkdir ${HOME}/.local/share/shotwell
24whitelist ${HOME}/.cache/shotwell
25whitelist ${HOME}/.local/share/shotwell
26whitelist ${PICTURES}
27include whitelist-common.inc
28include whitelist-runuser-common.inc
29include whitelist-usr-share-common.inc
30include whitelist-var-common.inc
31
32apparmor
33caps.drop all
34machine-id
35netfilter
36nodvd
37nogroups
38nonewprivs
39noroot
40nosound
41notv
42nou2f
43novideo
44protocol unix
45seccomp
46shell none
47tracelog
48
49private-bin shotwell
50private-cache
51private-dev
52private-etc alternatives,fonts,machine-id
53private-opt none
54private-tmp
55
56dbus-user filter
57dbus-user.own org.gnome.Shotwell
58dbus-user.talk ca.desrt.dconf
59dbus-user.talk org.gtk.vfs.UDisks2VolumeMonitor
60dbus-system none
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config
index 3ebf6fca9..e705008a5 100644
--- a/src/firecfg/firecfg.config
+++ b/src/firecfg/firecfg.config
@@ -663,6 +663,7 @@ secret-tool
663shellcheck 663shellcheck
664shortwave 664shortwave
665shotcut 665shotcut
666shotwell
666signal-cli 667signal-cli
667signal-desktop 668signal-desktop
668silentarmy 669silentarmy