summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-03-05 03:57:17 -0500
committerGitHub <noreply@github.com>2021-03-05 03:57:17 -0500
commit05080a12a998802570ee123a39368a0fe97e2fd2 (patch)
treee2828a62966c6d05e2d79cb7cc90ae3254279657 /cmd/podman
parent4e5cc6a3a61d9d2f1d3b97fc10684ec5617816ab (diff)
parenta090301bbb10424ce4f99e40c97959f0e8664718 (diff)
downloadpodman-05080a12a998802570ee123a39368a0fe97e2fd2.tar.gz
podman-05080a12a998802570ee123a39368a0fe97e2fd2.tar.bz2
podman-05080a12a998802570ee123a39368a0fe97e2fd2.zip
Merge pull request #9593 from vrothberg/cp-tmp
podman cp: support copying on tmpfs mounts
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/containers/cp.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/podman/containers/cp.go b/cmd/podman/containers/cp.go
index 7887e9539..7a62d982c 100644
--- a/cmd/podman/containers/cp.go
+++ b/cmd/podman/containers/cp.go
@@ -189,8 +189,9 @@ func copyFromContainer(container string, containerPath string, hostPath string)
}
putOptions := buildahCopiah.PutOptions{
- ChownDirs: &idPair,
- ChownFiles: &idPair,
+ ChownDirs: &idPair,
+ ChownFiles: &idPair,
+ IgnoreDevices: true,
}
if !containerInfo.IsDir && (!hostInfo.IsDir || hostInfoErr != nil) {
// If we're having a file-to-file copy, make sure to