flatpak export-fileflatpakDeveloperAlexanderLarssonalexl@redhat.comflatpak export-file1flatpak-export-fileExport a file to a sandboxed applicationflatpak export-fileOPTIONFILEDescription
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.
OptionsThe following options are understood:
Show help options and exit.
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.
The document will only exist for the length of
the session. This is useful for temporary grants.
Grant read access to the specified application.
Also grant write access to the applications specified with --app.
Also grant the ability to delete a document id to the applications specified with --app.
Also grant the ability further grant permissions to the applications specified with --app.
Print debug information during command processing.
Print version information and exit.
Examples$ flatpak export-file --app=org.gnome.GEdit ~/test.txt
/run/user/1000/doc/e52f9c6a/test.txt
See alsoflatpak1flatpak-run1