Comprehensive list on sandbox permission

Simon McVittie smcv at collabora.com
Thu Jan 23 11:49:56 UTC 2020


On Fri, 10 Jan 2020 at 15:12:09 +0100, Markus Johann Schmidt wrote:
> So far, I managed to get a running build! Only when I try to get an
> additional window for the "open file" dialogue, an error occurs:
> 
> Gtk-WARNING **: 15:08:18.085: Can't open portal file chooser:
> GDBus.Error:org.freedesktop.portal.Error.InvalidArgument: invalid
> filter: invalid glob pattern

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