aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Denis Subbotin <denis@subbot.in>2023-09-18 17:15:17 +0300
committerLibravatar GitHub <noreply@github.com>2023-09-18 14:15:17 +0000
commite57f1e4ef18af4982b8edfd0f1dc089411471c8b (patch)
tree2ac0845bdbc8305e3455ba74bb0790cabfc24bd3
parentbuild(deps): bump github/codeql-action from 2.21.5 to 2.21.7 (diff)
downloadfirejail-e57f1e4ef18af4982b8edfd0f1dc089411471c8b.tar.gz
firejail-e57f1e4ef18af4982b8edfd0f1dc089411471c8b.tar.zst
firejail-e57f1e4ef18af4982b8edfd0f1dc089411471c8b.zip
telegram.profile: allow ~/.local/share/telegram-desktop (#5994)
New TelegramWebApps uses another directory for saving local storage.
-rw-r--r--etc/inc/disable-programs.inc1
-rw-r--r--etc/profile-m-z/telegram.profile3
2 files changed, 4 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc
index c301491f6..8648e329b 100644
--- a/etc/inc/disable-programs.inc
+++ b/etc/inc/disable-programs.inc
@@ -1030,6 +1030,7 @@ blacklist ${HOME}/.local/share/strawberry
1030blacklist ${HOME}/.local/share/supertux2 1030blacklist ${HOME}/.local/share/supertux2
1031blacklist ${HOME}/.local/share/supertuxkart 1031blacklist ${HOME}/.local/share/supertuxkart
1032blacklist ${HOME}/.local/share/swell-foop 1032blacklist ${HOME}/.local/share/swell-foop
1033blacklist ${HOME}/.local/share/telegram-desktop
1033blacklist ${HOME}/.local/share/telepathy 1034blacklist ${HOME}/.local/share/telepathy
1034blacklist ${HOME}/.local/share/terasology 1035blacklist ${HOME}/.local/share/terasology
1035blacklist ${HOME}/.local/share/torbrowser 1036blacklist ${HOME}/.local/share/torbrowser
diff --git a/etc/profile-m-z/telegram.profile b/etc/profile-m-z/telegram.profile
index ba915c2d4..fa992ad1a 100644
--- a/etc/profile-m-z/telegram.profile
+++ b/etc/profile-m-z/telegram.profile
@@ -7,6 +7,7 @@ include globals.local
7 7
8noblacklist ${HOME}/.TelegramDesktop 8noblacklist ${HOME}/.TelegramDesktop
9noblacklist ${HOME}/.local/share/TelegramDesktop 9noblacklist ${HOME}/.local/share/TelegramDesktop
10noblacklist ${HOME}/.local/share/telegram-desktop
10 11
11# Allow opening hyperlinks 12# Allow opening hyperlinks
12include allow-bin-sh.inc 13include allow-bin-sh.inc
@@ -21,8 +22,10 @@ include disable-xdg.inc
21 22
22mkdir ${HOME}/.TelegramDesktop 23mkdir ${HOME}/.TelegramDesktop
23mkdir ${HOME}/.local/share/TelegramDesktop 24mkdir ${HOME}/.local/share/TelegramDesktop
25mkdir ${HOME}/.local/share/telegram-desktop
24whitelist ${HOME}/.TelegramDesktop 26whitelist ${HOME}/.TelegramDesktop
25whitelist ${HOME}/.local/share/TelegramDesktop 27whitelist ${HOME}/.local/share/TelegramDesktop
28whitelist ${HOME}/.local/share/telegram-desktop
26whitelist ${DOWNLOADS} 29whitelist ${DOWNLOADS}
27whitelist /usr/share/TelegramDesktop 30whitelist /usr/share/TelegramDesktop
28include whitelist-common.inc 31include whitelist-common.inc