mirror of
https://github.com/containers/podman.git
synced 2025-12-03 03:39:44 +08:00
remote copy
Implement `podman-remote cp` and break out the logic from the previously added `pkg/copy` into it's basic building blocks and move them up into the `ContainerEngine` interface and `cmd/podman`. The `--pause` and `--extract` flags are now deprecated and turned into nops. Note that this commit is vendoring a non-release version of Buildah to pull in updates to the copier package. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
2
vendor/github.com/containers/buildah/copier/syscall_unix.go
generated
vendored
2
vendor/github.com/containers/buildah/copier/syscall_unix.go
generated
vendored
@@ -10,7 +10,7 @@ import (
|
||||
"golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
var canChroot = true
|
||||
var canChroot = os.Getuid() == 0
|
||||
|
||||
func chroot(root string) (bool, error) {
|
||||
if canChroot {
|
||||
|
||||
Reference in New Issue
Block a user