flathub/org.wireshark.Wireshark

Unable to load file

Closed this issue · 5 comments

ctron commented

Installing wireshark via flatpak, I am unable to load a "pcap" file.

When I try to load a file, the "open file" dialog shows me a nearly empty file system.

this is expected:

# Because the file chooser somehow doesn't show the files on the host, we export some directory for reading pcap files

You can load and save files from your "public" folder. To add further exceptions to this policy, you can run smth like flatpak --user override --filesystem=/path/to/read-write:rw org.wireshark.WireShark.

The upstream bug report is here: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=15507
feel free to weigh in there.

ctron commented

this is expected:

If this is expected, it would be great to show this in the description of the flathub page.

The upstream bug report is here: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=15507
feel free to weigh in there.

Wouldn't it be an alternative to use GTK then? I know this works for other applications.

Wouldn't it be an alternative to use GTK then? I

well. yes, but wireshark does not use GtK :(

I have modified the permissions in the beta build. Can you test that (e.g. https://flathub.org/beta-repo/appstream/org.wireshark.Wireshark.flatpakref)?

ctron commented

well. yes, but wireshark does not use GtK :(

It did in the past. And my version still does. So I assumed that this was still an option.

I have modified the permissions in the beta build. Can you test that (e.g. https://flathub.org/beta-repo/appstream/org.wireshark.Wireshark.flatpakref)?

That works like expected. I can now also drop and drop files into Wireshark again.

Thank you.

Fixed in a853a48 by sharing the home directory read-only.