mirror of
https://github.com/containers/podman.git
synced 2025-06-24 19:42:56 +08:00
podman cp: ignore EPERMs in rootless mode
Ignore permission errors when copying from a rootless container. TTY devices inside rootless containers are owned by the host's root user which is "nobody" inside the container's user namespace rendering us unable to even read them. Enable the integration test which was temporarily disabled for rootless users. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
@ -212,7 +212,6 @@ var _ = Describe("Podman cp", func() {
|
||||
|
||||
// Copy the root dir "/" of a container to the host.
|
||||
It("podman cp the root directory from the ctr to an existing directory on the host ", func() {
|
||||
SkipIfRootless("cannot copy tty devices in rootless mode")
|
||||
container := "copyroottohost"
|
||||
session := podmanTest.RunTopContainer(container)
|
||||
session.WaitWithDefaultTimeout()
|
||||
|
Reference in New Issue
Block a user