-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
podman cp, with volumes + tarfile + exact name match, is a NOP #3550
Comments
@QiWang19 PTAL |
the issue is after extracting the tar archive, if it returns a folder has the same name with the volume, podman copies it to the containerMountpoint/volumename not the volumePath. Is it possible to fix this? |
We may want to look into having |
how to let |
This issue had no activity for 30 days. In the absence of activity or the "do-not-close" label, the issue will be automatically closed within 7 days. |
I think we may want to close this one and open a tracker for a rewrite of |
I'll leave it open until that happens, though. Better than losing it. |
I thought we had a card for the rewrite but I cannot find it now. @mheon did it get deleted? |
Friendly ping. |
@QiWang19 Any chance you can look at this? |
I had a PR to fix this by mounting the volumes but hasn't been merged for security reasons. |
A friendly reminder that this issue had no activity for 30 days. |
@jwhonce I think this one is needed to bubble up? |
@nalind, iterating on #3550 (comment): What's your take on passing a map to translate paths to the copier? Note: copying to running containers works. The data is also copied up to the volume once a created container starts. |
You could try starting Hard links will complicate that, though, since it's possible that hard links would refer across rootfs/volume boundaries, and |
A friendly reminder that this issue had no activity for 30 days. |
@edsantiago @vrothberg @nalind What is the latest on this one? |
Issue still present in main @ fe0bb28 |
A friendly reminder that this issue had no activity for 30 days. |
@mheon Could you look at this one? |
Still present in main @ a866a2f |
A friendly reminder that this issue had no activity for 30 days. |
A friendly reminder that this issue had no activity for 30 days. |
@flouthoc any chance to look at this? |
Abandoning. This will never get fixed. |
Looks like an obscrure corner case of #3059
Now create a tarball:
Then create a container, mounting the volume using the same name as the subdirectory in the tarball.
podman cp
of the tarball into the container will silently fail:cp
into the volume subdirectory works:podman-1.4.4-3.fc30
The text was updated successfully, but these errors were encountered: