mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #6563] firefox: cannot open file chooser with "Save Page As..." #3303
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#3303
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 @Druco on GitHub (Dec 2, 2024).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6563
Description
Just updated to Firefox 133.0 and 'Save Page As...' no longer works.
Steps to Reproduce
Expected behavior
A File Chooser dialog should open
Actual behavior
No File Chooser dialog opens
Behavior without a profile
Firefox works as expected
Additional context
Prior to Firefox v133.0 this was not a problem so it is definitely something that has changed.
I was able to fix the problem by adding:
dbus-user.talk org.freedesktop.portal.*
to my firefox.local file but this may not be the optimal fix.
I tried:
dbus-user.talk org.freedesktop.portal.FileChooser.*
which appeared to me to be the actual interface being used but this did not work.
Environment
Checklist
/usr/bin/vlc) "fixes" it).https://github.com/netblue30/firejail/issues/1139)browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.--profile=PROFILENAMEto set the right profile. (Only relevant for AppImages)Log
@rusty-snake commented on GitHub (Dec 2, 2024):
The name should be
org.freedesktop.portal.Documentswhich is already allowed infirefox-common.profileto fix drag and drop under some(?) systems. So this issue can likely be closed as an duplicate.@Druco commented on GitHub (Dec 2, 2024):
Thanks for the quick reply.
I found that adding just "org.freedesktop.portal.Documents" did not work. After some more debug, I found that it also required "org.freedesktop.portal.Desktop" to be included, which is commented in firefox-common.profile to indicate that it is needed for "sceensharing under Wayland", so perhaps the comment could be changed to say that it may also be needed for file saving to work under FF133.
@kmk3 commented on GitHub (Dec 3, 2024):
Does it work with firejail-git?
Also can you try the following and post the result?
@Druco commented on GitHub (Dec 4, 2024):
I pulled master from github and that version does not work out of the box. I have attached four files, two with the output from the comment you listed and two from when I ran with the command '/usr/local/bin/firejail --dbus-user=filter --dbus-user.log --dbus-log=xxx.dbus firefox'.
The two that have 'noDesktop' in the name are run from the git firejail as is, and the file chooser popup never came up. The two that have 'withDesktop' in the name were run with the line "dbus-user.talk org.freedesktop.portal.Desktop" added to my 'firefox.local' file and worked as expected
NoDesktop.dbus.txt
WithDesktop.dbus.txt
busctl_noDesktop.txt
busctl_withDesktop.txt
.
@neurodiverseEsoteric commented on GitHub (Sep 26, 2025):
Hi just so you know I think all firefox-based browsers are hit with this issue. Floorp, Librewolf, and Midori all crash before any dialog gets shown.
Here's what Konsole/fish gives me (CachyOS):
midori log
*(All I did was input ctrl+O from my keyboard, shortly after the browser window appeared...)
@kmk3 commented on GitHub (Sep 26, 2025):
Looks like a duplicate of:
What are the package versions of glycin and gdk-pixbuf2?
@neurodiverseEsoteric commented on GitHub (Sep 26, 2025):
What's this for?
@kmk3 commented on GitHub (Oct 2, 2025):
Debugging the seccomp error.
See
seccompand related commands inman firejail.This really seems like a duplicate of #6906, while the original issue seems to
be about dbus, so hiding this subthread.
If that is not the case, please clarify.