Comprehensive list on sandbox permission

Simon McVittie smcv at collabora.com
Mon Feb 10 11:59:20 UTC 2020


On Thu, 30 Jan 2020 at 13:13:47 +0100, Markus Johann Schmidt wrote:
> Gtk-WARNING **: 15:08:18.085: Can't open portal file chooser:
> GDBus.Error:org.freedesktop.portal.Error.InvalidArgument: invalid
> filter: invalid glob pattern

This error message indicates that something in your app - either your
own application code, or a toolkit like GTK or Qt that you're using -
is passing an invalid glob pattern in the 'filters' option. Currently,
the only invalid glob pattern that is detected is an empty string.

For example, if you're using GtkFileChooser, don't use
gtk_file_filter_add_pattern (filter, ""). If you want to accept all files,
maybe use gtk_file_filter_add_pattern (filter, "*") instead, or don't use
a filter at all.

> I assume this has something to do with my sandbox permissions.

I don't think that assumption is correct here.

> Sorry for the basic question, but is there a comprehensive list (I did
> not find) with the available permissions?

See the flatpak-build-finish(1) man page or
<http://docs.flatpak.org/en/latest/flatpak-command-reference.html#flatpak-build-finish>.

For some permissions, more details are provided in the flatpak-metadata(5)
man page or
<http://docs.flatpak.org/en/latest/flatpak-command-reference.html#flatpak-metadata>.

    smcv


More information about the Flatpak mailing list