flatpak document-export flatpak Developer Alexander Larsson alexl@redhat.com flatpak document-export 1 flatpak-document-export Export a file to a sandboxed application flatpak document-export OPTION FILE Description Creates a document id for a local file that can be exposed to sandboxed applications, allowing them access to files that they would not otherwise see. The exported files are exposed in a fuse filesystem at /run/user/$UID/doc/. This command also lets you modify the per-application permissions of the documents, granting or revoking access to the file on a per-application basis. Options The 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. The --allow and --forbid options can be used to grant or remove additional privileges. This option can be used multiple times. Grant read access to the applications specified with --app. This defaults to TRUE. Revoke read access for the applications specified with --app. Grant write access to the applications specified with --app. Revoke write access for the applications specified with --app. Grant the ability to remove the document from the document portal to the applications specified with --app. Revoke the ability to remove the document from the document portal from the applications specified with --app. Grant the ability to grant further permissions to the applications specified with --app. Revoke the ability to grant further permissions for the applications specified with --app. Print debug information during command processing. Print version information and exit. Examples $ flatpak document-export --app=org.gnome.GEdit ~/test.txt /run/user/1000/doc/e52f9c6a/test.txt See also flatpak1, flatpak-document-unexport1, flatpak-document-info1, flatpak-document-list1