Man page - flatpak-document-export(1)
Packages contains this manual
- flatpak-list(1)
- flatpak-remote(5)
- flatpak-remote-ls(1)
- flatpak-create-usb(1)
- flatpak-pin(1)
- flatpak-metadata(5)
- flatpak-history(1)
- flatpak-repair(1)
- flatpak-kill(1)
- flatpak-build-export(1)
- flatpak-permission-reset(1)
- flatpak-search(1)
- flatpak-permission-set(1)
- flatpak-run(1)
- flatpak-update(1)
- flatpak-permissions(1)
- flatpak-document-unexport(1)
- flatpak-ps(1)
- flatpak-build-commit-from(1)
- flatpak-build-init(1)
- flatpak-build-sign(1)
- flatpak-documents(1)
- flatpak-remote-add(1)
- flatpak-override(1)
- flatpak-repo(1)
- flatpak-document-info(1)
- flatpak-build-bundle(1)
- flatpak-uninstall(1)
- flatpak-permission-remove(1)
- flatpak-build-update-repo(1)
- flatpak-installation(5)
- flatpak-config(1)
- flatpak-spawn(1)
- flatpakrepo(5)
- flatpak-remote-info(1)
- flatpak-document-export(1)
- flatpak-mask(1)
- flatpak-info(1)
- flatpak-build(1)
- flatpak-flatpakrepo(5)
- flatpak-flatpakref(5)
- flatpak-install(1)
- flatpak(1)
- flatpak-remotes(1)
- flatpak-make-current(1)
- flatpak-remote-modify(1)
- flatpak-enter(1)
- flatpak-build-finish(1)
- flatpak-build-import-bundle(1)
- flatpakref(5)
- flatpak-permission-show(1)
- flatpak-remote-delete(1)
apt-get install flatpak
Manual
FLATPAK DOCUMENT-EX
NAMESYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
SEE ALSO
NAME
flatpak-document-export - Export a file to a sandboxed application
SYNOPSIS
|
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:
-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.
-n , --noexist
Don't require the file to exist already.
-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.
--ostree-verbose
Print OSTree debug information during command processing.
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-documents (1)