FLATPAK EXPORT-FILE(1)

NAME
flatpak-export-file - Export a file to a sandboxed application

SYNOPSIS

flatpak export-file [OPTION...] FILE

DESCRIPTION

Creates a document identifier for a local file that can be exposed to sandboxed applications, allowing them access to files that they would not otherwise see.

This command also lets you modify the per-application permissions of the documents, granting access to the file on a per-application basis.

OPTIONS

The following options are understood:

-h, --help
    Show help options and exit.

--unique
    Don't reuse an existing document id for the file. This makes it safe to later remove the document when you're finished with it.

--transient
    The document will only exist for the length of the session. This is useful for temporary grants.

--app=APPID
    Grant read access to the specified application.

--allow-write
    Also grant write access to the applications specified with --app.

--allow-delete
    Also grant the ability to delete a document id to the applications specified with --app.

--allow-grant-permission
    Also grant the ability further grant permissions to the applications specified with --app.

-v, --verbose
    Print debug information during command processing.

--version
    Print version information and exit.

EXAMPLES

$ flatpak export-file --app=org.gnome.GEdit ~/test.txt

    /run/user/1000/doc/e52f9c6a/test.txt

SEE ALSO

flatpak(1) flatpak-run(1)