diff options
author | netblue30 <netblue30@yahoo.com> | 2017-06-30 10:08:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-30 10:08:52 -0400 |
commit | f0bfad919758ef4be45d15b6492ca3f14c27b12b (patch) | |
tree | 7bf531300292d85b701ef6b9e72a8a28d69905df | |
parent | Merge - fixed race condition when creating a new directory; to be ported to L... (diff) | |
parent | Add profile for Liferea (diff) | |
download | firejail-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.md | 2 | ||||
-rw-r--r-- | etc/liferea.profile | 29 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 1 |
3 files changed, 31 insertions, 1 deletions
@@ -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 | ||
100 | curl, mplayer2, SMPlayer, Calibre, ebook-viewer, KWrite, Geary | 100 | curl, 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 | ||
2 | include /etc/firejail/global.local | ||
3 | |||
4 | # This file is overwritten during software install. | ||
5 | # Persistent customizations should go in a .local file. | ||
6 | include /etc/firejail/liferea.local | ||
7 | |||
8 | ####################### | ||
9 | # profile for Liferea # | ||
10 | ####################### | ||
11 | noblacklist ~/.config/liferea | ||
12 | mkdir ~/.config/liferea | ||
13 | whitelist ~/.config/liferea | ||
14 | |||
15 | noblacklist ~/.local/share/liferea | ||
16 | mkdir ~/.local/share/liferea | ||
17 | whitelist ~/.local/share/liferea | ||
18 | |||
19 | noblacklist ~/.cache/liferea | ||
20 | mkdir ~/.cache/liferea | ||
21 | whitelist ~/.cache/liferea | ||
22 | |||
23 | include /etc/firejail/whitelist-common.inc | ||
24 | include /etc/firejail/default.profile | ||
25 | |||
26 | nogroups | ||
27 | shell none | ||
28 | private-dev | ||
29 | private-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 | |||
142 | leafpad | 142 | leafpad |
143 | less | 143 | less |
144 | libreoffice | 144 | libreoffice |
145 | liferea | ||
145 | localc | 146 | localc |
146 | lodraw | 147 | lodraw |
147 | loffice | 148 | loffice |