diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-03-05 10:33:27 +0100 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2021-03-09 09:02:14 +0100 |
commit | 2abfef3809abc59e8d29bcbcf2b5e0aa7141fb6d (patch) | |
tree | b47cb84b59dbafc9f90ca08474795b35fc824bf7 /test | |
parent | d175fbfdb460315d2a3f8b0c679101b604411ef8 (diff) | |
download | podman-2abfef3809abc59e8d29bcbcf2b5e0aa7141fb6d.tar.gz podman-2abfef3809abc59e8d29bcbcf2b5e0aa7141fb6d.tar.bz2 podman-2abfef3809abc59e8d29bcbcf2b5e0aa7141fb6d.zip |
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>
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/cp_test.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/e2e/cp_test.go b/test/e2e/cp_test.go index c0fb61544..c0fb3f887 100644 --- a/test/e2e/cp_test.go +++ b/test/e2e/cp_test.go @@ -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() |