diff options
author | 2020-07-16 22:32:00 +0000 | |
---|---|---|
committer | 2020-07-16 22:32:00 +0000 | |
commit | ad12d9036909eaa722f8d5bcf35b5cb211f209ce (patch) | |
tree | 9097eee7cede1dbe51c7500e3c1a9475e4801d72 | |
parent | fix #3501 (diff) | |
download | firejail-ad12d9036909eaa722f8d5bcf35b5cb211f209ce.tar.gz firejail-ad12d9036909eaa722f8d5bcf35b5cb211f209ce.tar.zst firejail-ad12d9036909eaa722f8d5bcf35b5cb211f209ce.zip |
add element-desktop redirect profile (#3517)
* Create element-desktop.profile
* add element-desktop dirs to disable-programs.inc
* add element-desktop to firecfg.config
* Update RELNOTES
-rw-r--r-- | RELNOTES | 4 | ||||
-rw-r--r-- | etc/inc/disable-programs.inc | 2 | ||||
-rw-r--r-- | etc/profile-a-l/element-desktop.profile | 22 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 1 |
4 files changed, 27 insertions, 2 deletions
@@ -7,7 +7,7 @@ firejail (0.9.63) baseline; urgency=low | |||
7 | /etc/firejail/firejail.config file. | 7 | /etc/firejail/firejail.config file. |
8 | * Fine-grained D-Bus sandboxing with xdg-dbus-proxy. | 8 | * Fine-grained D-Bus sandboxing with xdg-dbus-proxy. |
9 | xdg-dbus-proxy must be installed, if not D-Bus access will be allowed. | 9 | xdg-dbus-proxy must be installed, if not D-Bus access will be allowed. |
10 | With this version Nodbus is deprecated, in favor of dbus-user none and | 10 | With this version nodbus is deprecated, in favor of dbus-user none and |
11 | dbus-system none and will be removed in a future version. | 11 | dbus-system none and will be removed in a future version. |
12 | * DHCP client support | 12 | * DHCP client support |
13 | * firecfg only fix dektop-files if started with sudo | 13 | * firecfg only fix dektop-files if started with sudo |
@@ -37,7 +37,7 @@ firejail (0.9.63) baseline; urgency=low | |||
37 | * new profiles: swell-foop, fdns, five-or-more, steam-runtime, jitsi-meet-desktop | 37 | * new profiles: swell-foop, fdns, five-or-more, steam-runtime, jitsi-meet-desktop |
38 | * new profiles: nicotine, plv, mocp, apostrophe, quadrapassel, dino-im, strawberry | 38 | * new profiles: nicotine, plv, mocp, apostrophe, quadrapassel, dino-im, strawberry |
39 | * new profiles: hitori, bijiben, gnote, gnubik, ZeGrapher, xonotic-sdl-wrapper | 39 | * new profiles: hitori, bijiben, gnote, gnubik, ZeGrapher, xonotic-sdl-wrapper |
40 | * new profiles: gapplication, openarena_ded | 40 | * new profiles: gapplication, openarena_ded, element-desktop |
41 | -- netblue30 <netblue30@yahoo.com> Tue, 21 Apr 2020 08:00:00 -0500 | 41 | -- netblue30 <netblue30@yahoo.com> Tue, 21 Apr 2020 08:00:00 -0500 |
42 | 42 | ||
43 | firejail (0.9.62) baseline; urgency=low | 43 | firejail (0.9.62) baseline; urgency=low |
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 9a748e2d4..865eefb18 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -81,6 +81,8 @@ blacklist ${HOME}/.config/Code Industry | |||
81 | blacklist ${HOME}/.config/Cryptocat | 81 | blacklist ${HOME}/.config/Cryptocat |
82 | blacklist ${HOME}/.config/Debauchee/Barrier.conf | 82 | blacklist ${HOME}/.config/Debauchee/Barrier.conf |
83 | blacklist ${HOME}/.config/Dharkael | 83 | blacklist ${HOME}/.config/Dharkael |
84 | blacklist ${HOME}/.config/Element | ||
85 | blacklist ${HOME}/.config/Element (Riot) | ||
84 | blacklist ${HOME}/.config/Enox | 86 | blacklist ${HOME}/.config/Enox |
85 | blacklist ${HOME}/.config/Ferdi | 87 | blacklist ${HOME}/.config/Ferdi |
86 | blacklist ${HOME}/.config/Franz | 88 | blacklist ${HOME}/.config/Franz |
diff --git a/etc/profile-a-l/element-desktop.profile b/etc/profile-a-l/element-desktop.profile new file mode 100644 index 000000000..c1aa821e3 --- /dev/null +++ b/etc/profile-a-l/element-desktop.profile | |||
@@ -0,0 +1,22 @@ | |||
1 | # Firejail profile for element-desktop | ||
2 | # Description: All-in-one secure chat app for teams, friends and organisations | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include element-desktop.local | ||
6 | # Persistent global definitions | ||
7 | # added by included profile | ||
8 | #include globals.local | ||
9 | |||
10 | noblacklist ${HOME}/.config/Element | ||
11 | noblacklist ${HOME}/.config/Element (Riot) | ||
12 | |||
13 | mkdir ${HOME}/.config/Element | ||
14 | mkdir ${HOME}/.config/Element (Riot) | ||
15 | whitelist ${HOME}/.config/Element | ||
16 | whitelist ${HOME}/.config/Element (Riot) | ||
17 | whitelist /opt/Element | ||
18 | |||
19 | private-opt Element | ||
20 | |||
21 | # Redirect | ||
22 | include riot-desktop.profile | ||
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index 6c3779498..4cfbb5480 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -178,6 +178,7 @@ easystroke | |||
178 | ebook-viewer | 178 | ebook-viewer |
179 | electron-mail | 179 | electron-mail |
180 | electrum | 180 | electrum |
181 | element-desktop | ||
181 | elinks | 182 | elinks |
182 | empathy | 183 | empathy |
183 | enchant | 184 | enchant |