summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2017-06-30 10:08:52 -0400
committerLibravatar GitHub <noreply@github.com>2017-06-30 10:08:52 -0400
commitf0bfad919758ef4be45d15b6492ca3f14c27b12b (patch)
tree7bf531300292d85b701ef6b9e72a8a28d69905df
parentMerge - fixed race condition when creating a new directory; to be ported to L... (diff)
parentAdd profile for Liferea (diff)
downloadfirejail-f0bfad919758ef4be45d15b6492ca3f14c27b12b.tar.gz
firejail-f0bfad919758ef4be45d15b6492ca3f14c27b12b.tar.zst
firejail-f0bfad919758ef4be45d15b6492ca3f14c27b12b.zip
Merge pull request #1357 from BafDyce/liferea
Add profile for Liferea
-rw-r--r--README.md2
-rw-r--r--etc/liferea.profile29
-rw-r--r--src/firecfg/firecfg.config1
3 files changed, 31 insertions, 1 deletions
diff --git a/README.md b/README.md
index 674664b0d..affd4beca 100644
--- a/README.md
+++ b/README.md
@@ -97,5 +97,5 @@ Use this issue to request new profiles: [#1139](https://github.com/netblue30/fir
97 97
98## New profiles: 98## New profiles:
99 99
100curl, mplayer2, SMPlayer, Calibre, ebook-viewer, KWrite, Geary 100curl, mplayer2, SMPlayer, Calibre, ebook-viewer, KWrite, Geary, Liferea
101 101
diff --git a/etc/liferea.profile b/etc/liferea.profile
new file mode 100644
index 000000000..92b3b8f88
--- /dev/null
+++ b/etc/liferea.profile
@@ -0,0 +1,29 @@
1# Persistent global definitions go here
2include /etc/firejail/global.local
3
4# This file is overwritten during software install.
5# Persistent customizations should go in a .local file.
6include /etc/firejail/liferea.local
7
8#######################
9# profile for Liferea #
10#######################
11noblacklist ~/.config/liferea
12mkdir ~/.config/liferea
13whitelist ~/.config/liferea
14
15noblacklist ~/.local/share/liferea
16mkdir ~/.local/share/liferea
17whitelist ~/.local/share/liferea
18
19noblacklist ~/.cache/liferea
20mkdir ~/.cache/liferea
21whitelist ~/.cache/liferea
22
23include /etc/firejail/whitelist-common.inc
24include /etc/firejail/default.profile
25
26nogroups
27shell none
28private-dev
29private-tmp
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config
index 6a93f4976..c616f040c 100644
--- a/src/firecfg/firecfg.config
+++ b/src/firecfg/firecfg.config
@@ -142,6 +142,7 @@ kwrite
142leafpad 142leafpad
143less 143less
144libreoffice 144libreoffice
145liferea
145localc 146localc
146lodraw 147lodraw
147loffice 148loffice