diff options
author | Denis Subbotin <denis@subbot.in> | 2023-09-18 17:15:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-18 14:15:17 +0000 |
commit | e57f1e4ef18af4982b8edfd0f1dc089411471c8b (patch) | |
tree | 2ac0845bdbc8305e3455ba74bb0790cabfc24bd3 /etc | |
parent | build(deps): bump github/codeql-action from 2.21.5 to 2.21.7 (diff) | |
download | firejail-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.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/disable-programs.inc | 1 | ||||
-rw-r--r-- | etc/profile-m-z/telegram.profile | 3 |
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 | |||
1030 | blacklist ${HOME}/.local/share/supertux2 | 1030 | blacklist ${HOME}/.local/share/supertux2 |
1031 | blacklist ${HOME}/.local/share/supertuxkart | 1031 | blacklist ${HOME}/.local/share/supertuxkart |
1032 | blacklist ${HOME}/.local/share/swell-foop | 1032 | blacklist ${HOME}/.local/share/swell-foop |
1033 | blacklist ${HOME}/.local/share/telegram-desktop | ||
1033 | blacklist ${HOME}/.local/share/telepathy | 1034 | blacklist ${HOME}/.local/share/telepathy |
1034 | blacklist ${HOME}/.local/share/terasology | 1035 | blacklist ${HOME}/.local/share/terasology |
1035 | blacklist ${HOME}/.local/share/torbrowser | 1036 | blacklist ${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 | ||
8 | noblacklist ${HOME}/.TelegramDesktop | 8 | noblacklist ${HOME}/.TelegramDesktop |
9 | noblacklist ${HOME}/.local/share/TelegramDesktop | 9 | noblacklist ${HOME}/.local/share/TelegramDesktop |
10 | noblacklist ${HOME}/.local/share/telegram-desktop | ||
10 | 11 | ||
11 | # Allow opening hyperlinks | 12 | # Allow opening hyperlinks |
12 | include allow-bin-sh.inc | 13 | include allow-bin-sh.inc |
@@ -21,8 +22,10 @@ include disable-xdg.inc | |||
21 | 22 | ||
22 | mkdir ${HOME}/.TelegramDesktop | 23 | mkdir ${HOME}/.TelegramDesktop |
23 | mkdir ${HOME}/.local/share/TelegramDesktop | 24 | mkdir ${HOME}/.local/share/TelegramDesktop |
25 | mkdir ${HOME}/.local/share/telegram-desktop | ||
24 | whitelist ${HOME}/.TelegramDesktop | 26 | whitelist ${HOME}/.TelegramDesktop |
25 | whitelist ${HOME}/.local/share/TelegramDesktop | 27 | whitelist ${HOME}/.local/share/TelegramDesktop |
28 | whitelist ${HOME}/.local/share/telegram-desktop | ||
26 | whitelist ${DOWNLOADS} | 29 | whitelist ${DOWNLOADS} |
27 | whitelist /usr/share/TelegramDesktop | 30 | whitelist /usr/share/TelegramDesktop |
28 | include whitelist-common.inc | 31 | include whitelist-common.inc |