[GH-ISSUE #4265] Open file dialog in Telegram #2598

Closed
opened 2026-05-05 09:16:12 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @dmitryvakulenko on GitHub (May 9, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4265

This is my Telegram profile
Recently I found out I can't open any file or directory selection window. There aren't any error message or anything to help detect trouble.
"noroot" options disabling make windows opened but this make totally ignored "private" option - I can see all my home directory.

OS - Linux Mint 20.1 Ulyssa with Cinnamon DE.

Originally created by @dmitryvakulenko on GitHub (May 9, 2021). Original GitHub issue: https://github.com/netblue30/firejail/issues/4265 This is my [Telegram profile](https://github.com/netblue30/firejail/files/6447235/Telegram.txt) Recently I found out I can't open any file or directory selection window. There aren't any error message or anything to help detect trouble. "noroot" options disabling make windows opened but this make totally ignored "private" option - I can see all my home directory. OS - Linux Mint 20.1 Ulyssa with Cinnamon DE.
gitea-mirror 2026-05-05 09:16:12 -06:00
Author
Owner

@rusty-snake commented on GitHub (May 9, 2021):

Looks like telegrams file-open dialog uses desktop portals (and you portal implementation is broken with noroot). (OT: Does anybody know how you can control this for Qt?).

But why does telegram have access to org.freedesktop.portal.Desktop? Which firejail version do you use?

<!-- gh-comment-id:835769552 --> @rusty-snake commented on GitHub (May 9, 2021): Looks like telegrams file-open dialog uses desktop portals (and you portal implementation is broken with `noroot`). (OT: Does anybody know how you can control this for Qt?). But why does telegram have access to `org.freedesktop.portal.Desktop`? Which firejail version do you use?
Author
Owner

@dmitryvakulenko commented on GitHub (May 9, 2021):

Which firejail version do you use?

The last one. 0.9.64.4-1.
But the same behaviour was in Mint repo's version - 0.9.62

<!-- gh-comment-id:835771402 --> @dmitryvakulenko commented on GitHub (May 9, 2021): > Which firejail version do you use? The last one. 0.9.64.4-1. But the same behaviour was in Mint repo's version - 0.9.62
Author
Owner

@rusty-snake commented on GitHub (May 9, 2021):

There were a lot changes on master since 0.9.64.4. What are the results with this telegram.profile?

Which desktop portal implementation and version do you use?

<!-- gh-comment-id:835775345 --> @rusty-snake commented on GitHub (May 9, 2021): There were a lot changes on master since 0.9.64.4. What are the results with this [telegram.profile](https://raw.githubusercontent.com/netblue30/firejail/3d3ba1952ab6c9a9faabb9da495aa10146a4e169/etc/profile-m-z/telegram.profile)? Which desktop portal implementation and version do you use?
Author
Owner

@dmitryvakulenko commented on GitHub (May 9, 2021):

Looks like this profile works fine. Even when I added "private" option.
Desktop portal version 1.6.0-1. From Ubuntu Focal Fossa repository.

Thank you!

<!-- gh-comment-id:835854709 --> @dmitryvakulenko commented on GitHub (May 9, 2021): Looks like this profile works fine. Even when I added "private" option. Desktop portal version 1.6.0-1. From Ubuntu Focal Fossa repository. Thank you!
Author
Owner

@rusty-snake commented on GitHub (May 9, 2021):

I think we can close here as we do not need to make any changes to telegram.profile.

<!-- gh-comment-id:835867709 --> @rusty-snake commented on GitHub (May 9, 2021): I think we can close here as we do not need to make any changes to telegram.profile.
Author
Owner

@dmitryvakulenko commented on GitHub (May 10, 2021):

I experimented with profile and found out the main option to fix trouble is "dbus-user filter".

<!-- gh-comment-id:836348230 --> @dmitryvakulenko commented on GitHub (May 10, 2021): I experimented with profile and found out the main option to fix trouble is "dbus-user filter".
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#2598
No description provided.