From 1655f224514c22c3cb1355161d69fa4dfb4bc5c8 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Mon, 2 Feb 2026 18:29:55 +0530 Subject: [PATCH] test/e2e: skip "podman cp from ctr chown" for remote The test fails in podman-remote when copying a file from a container to an existing file on the host. The remote cp implementation tries to create a directory at the destination path, resulting in: Error: mkdir /tmp/1457882724: not a directory This is a bug in the remote cp implementation where it doesn't properly handle copying to an existing file. A fix exists in commit b0836ab624 (branch cve-441-crio) but hasn't been merged yet. Skip the test for remote until the fix is integrated. Signed-off-by: Lokesh Mandvekar --- test/e2e/cp_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/test/e2e/cp_test.go b/test/e2e/cp_test.go index 5d0b25c11d..a44be23b05 100644 --- a/test/e2e/cp_test.go +++ b/test/e2e/cp_test.go @@ -213,6 +213,7 @@ var _ = Describe("Podman cp", func() { // it to the host and back to the container and make sure that we can // access it, and (roughly) the right users own it. It("podman cp from ctr chown ", func() { + SkipIfRemote("podman-remote cp fails when copying file to existing file path") srcFile, err := os.CreateTemp("", "") Expect(err).ToNot(HaveOccurred()) defer srcFile.Close()