-
Notifications
You must be signed in to change notification settings - Fork 97
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
bug: tar extract with overlayfs whiteout #546
Comments
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the tar contents are
/a/.wh.b
/a/b/c/d
and we use a tar extractor with overlayfs whiteout option (assuming I want to overlayfs the unpacked layers), then at:
https://github.com/opencontainers/umoci/blob/main/oci/layer/tar_extract.go#L490
^ a mknod happens when /a/.wh.b is encountered.
However, when /a/b/c/d is encountered, cannot really do a mkdir /a/b/c/ at:
https://github.com/opencontainers/umoci/blob/main/oci/layer/tar_extract.go#L513
^ since /a/b is a non-dir entry.
There are two ways to fix this:
@cyphar Thoughts?
The text was updated successfully, but these errors were encountered: