mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3638] Why are all the $HOME dirs and files visible in Telegram and not jailed? #2290
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#2290
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @svc88 on GitHub (Sep 20, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3638
Currently, If you open Telegram and click on the attachment (paper clip) icon to send a file, i can see all files and dirs under $HOME. Why isnt there only one folder like ${DOWNLOADS} shown and the rest blacklisted?
Im not 100% sure that Telegram is jailed properly.
firejail version 0.9.62
@SkewedZeppelin commented on GitHub (Sep 21, 2020):
Does telegram process show up on "firejail --list" command?
@svc88 commented on GitHub (Sep 21, 2020):
Yes
Is it supposed to blacklist all folders? Because i dont see "whitelist" anywhere in telegram.profile
@rusty-snake commented on GitHub (Sep 21, 2020):
There's a lot of options which can be added to telegram.profile.
disable-*.incincludes (especiallyinclude disable-xdg.inc)include whitelist-*.incFlatpak permissions:
First draft (dbus-policy can be future hardened):
@FOSSONLY commented on GitHub (Sep 21, 2020):
I think there is a misunderstanding here. You should have a closer look at the profile of telegram, and especially at the entries "disable-common.inc" and "disable-programs.inc". Their contents quickly show how intensively and extensively the data under /home is protected or restricted. Just because any files or directories are visible, it does not mean that their content is visible or can be modified. Much of especially sensitive data is invisible anyway by principle, but for correct functionality of telegram certain areas must be visible. Therefore it is not practicable to make everything outside of /home/user/Downloads simply inaccessible.
@chiraag-nataraj commented on GitHub (Sep 29, 2020):
By my testing, the following whitelist works:
It only allows access to Downloads and it's own data files. @svc88, feel free to play around with that whitelist and let me know if that works well for you.
@chiraag-nataraj commented on GitHub (Sep 29, 2020):
I mean, it's a question of trade-offs. A lot of the profiles provided with firejail err on the side of usability. My profiles (https://github.com/chiraag-nataraj/firejail-profiles), on the other hand, err on the side of security/privacy. You can also, of course, create your own profiles (as I do) to tailor them to your use-cases.
@rusty-snake commented on GitHub (Nov 9, 2020):
I'm closing here due to inactivity, please fell free to request to reopen if you have more questions.