flatpak-document-export (1)
Leading comments
Title: flatpak document-export Author: Alexander Larsson <alexl@redhat.com> Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> Date: 08/31/2017 Manual: flatpak document-export Source: flatpak Language: English
NAME
flatpak-document-export - Export a file to a sandboxed applicationSYNOPSIS
- flatpak document-export [OPTION...] FILE
DESCRIPTION
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:
-h, --help
- Show help options and exit.
-u, --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.
-t, --transient
- The document will only exist for the length of the session. This is useful for temporary grants.
-a, --app=APPID
- 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.
-r, --allow-read
- Grant read access to the applications specified with --app. This defaults to TRUE.
--forbid-read
- Revoke read access for the applications specified with --app.
-w, --allow-write
- Grant write access to the applications specified with --app.
--forbid-write
- Revoke write access for the applications specified with --app.
-d, --allow-delete
- Grant the ability to remove the document from the document portal to the applications specified with --app.
--forbid-delete
- Revoke the ability to remove the document from the document portal from the applications specified with --app.
-g, --allow-grant-permission
- Grant the ability to grant further permissions to the applications specified with --app.
--forbid-grant-permission
- Revoke the ability to grant further permissions for the applications specified with --app.
-v, --verbose
- Print debug information during command processing.
--version
- Print version information and exit.
EXAMPLES
$ flatpak document-export --app=org.gnome.GEdit ~/test.txt
-
/run/user/1000/doc/e52f9c6a/test.txt
SEE ALSO
flatpak(1), flatpak-document-unexport(1), flatpak-document-info(1), flatpak-document-list(1)