This repository has been archived by the owner on Jan 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 108
CopyOut
Kowshik Prakasam and Pieter Noordhuis edited this page Feb 28, 2013
·
1 revision
Copies files out of a container.
File permissions and symbolic links are be preserved, while hard links
are materialized. If the source path contains a trailing /
, only the
contents of the directory will be copied. Otherwise, the outermost
directory, along with its contents, will be copied.
By default, the files on the host will be owned by root.
If the owner
field in the request is specified (in the form of USER:GROUP
),
the resulting files and directories will be owned by this user and group.
-
handle
: Container handle. -
src_path
: Path in the container to copy from. -
dst_path
: Path on the host to copy to.
Empty.
TODO
package warden;
message CopyOutRequest {
required string handle = 1;
required string src_path = 2;
required string dst_path = 3;
optional string owner = 4;
}
message CopyOutResponse {
}