Skip to content
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

[wip] cp.go: docker compat w/ --follow-link option #18020

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

danishprakash
Copy link
Contributor

@danishprakash danishprakash commented Apr 3, 2023

Podman cp, by default follows link when there's a symlink that's supposed to be copied to a container. This is docker's behavior with --follow-link flag. This PR changes the default behaviour to conform to docker's and adds the --follow-link flag to cp to follow links (current behaviour).

Relies on containers/buildah#4703

Closes #16585

add support for `--follow-link` flag to podman cp

@openshift-ci openshift-ci bot added release-note do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. labels Apr 3, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 3, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: danishprakash
Once this PR has been reviewed and has the lgtm label, please assign n1hility for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@github-actions
Copy link

github-actions bot commented May 4, 2023

A friendly reminder that this PR had no activity for 30 days.

@rhatdan
Copy link
Member

rhatdan commented May 4, 2023

@danishprakash are you still working on this?

@github-actions github-actions bot removed the stale-pr label May 5, 2023
@danishprakash
Copy link
Contributor Author

Hey @rhatdan, this PR just adds the cli option, the major work is being done over at containers/buildah#4703. If you could please take a look at that whenever you've a moment, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. release-note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for --follow-link option in podman cp
2 participants