-
Notifications
You must be signed in to change notification settings - Fork 184
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
Can't download an OCI package twice if package contains symbolic links #1593
Comments
I faced the exact same issue. Hopefully someone has some idea about how to avoid this ... |
+1
|
Hi @flavioschuindt @ArghyaChakraborty @alishah404 , thank you for reporting this bug! We have opened an issue on the |
Thanks a lot, @Wwwsylvia. Help me understand one thing though: I see that in the |
@flavioschuindt Do you depend on For |
Maybe we could consider a patch release oras-go v2.5.1 to fix the symbolic link issue oras-project/oras-go#865 since it impacts a lot of users. Let's discuss the oras-go milestone in the community meeting this Tuesday 4pm pacific time. @flavioschuindt @alishah404 @ArghyaChakraborty You are welcome to join the ORAS community meeting as well. |
@Wwwsylvia In addition to oras-project/oras-go#865, is there any addition work to fix the symbolic link issue in ORAS CLI? |
@FeynmanZhou No, once the fix is merged into oras-go, CLI just needs to upgrade the go dependency. |
My dependency is the oras CLI. Thanks @FeynmanZhou for the patch suggestion. This is impacting not me, but other users as well, so implementing and releasing a patch as soon as possible seems to be a reasonable approach. How can I join the community meeting? The link you shared I only see agenda notes, is there a video call link or something that I can join? |
Hi @flavioschuindt , you can find the meeting schedule on https://hackmd.io/P-O6n222TcSMoJgHmTTduw?view#Zoom-Call-Info. We meet on Zoom. Feel free to join the meeting and connect with the community maintainers. |
What happened in your environment?
Pushed it to my OCI complaint registry:
oras push <MY_REPO>:<MY_TAG> ./src/:<MY_MEDIA_TYPE>
where MY_REPO and MY_MEDIA_TYPE are redacted.Pulled it one time and worked fine:
oras pull <MY_REPO>:<MY_TAG>
Correct me If I am wrong, but I believe what happens here is that internally oras is using tar to extract the compressed layers, but tar is refusing to overwrite a symbolic link.
What did you expect to happen?
The second attempt should be successful and overwrites the files in the target output folder.
How can we reproduce it?
Create an OCI package containing symbolic links and try the steps mentioned above.
What is the version of your ORAS CLI?
Version: 1.1.0+Homebrew
Go version: go1.21.0
What is your OS environment?
Mac OS Sonoma 14.4.1
Are you willing to submit PRs to fix it?
The text was updated successfully, but these errors were encountered: