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
Remove use of fillGo18FileTypeBits #1652
Conversation
@nalind Is this what you intended? |
@@ -358,7 +358,6 @@ func FileInfoHeader(name string, fi os.FileInfo, link string) (*tar.Header, erro | |||
if err != nil { | |||
return nil, err | |||
} | |||
hdr.Mode = fillGo18FileTypeBits(int64(chmodTarEntry(os.FileMode(hdr.Mode))), fi) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think hdr.Mode
should still be set.
+ hdr.Mode = int64(chmodTarEntry(os.FileMode(hdr.Mode)))
I think we should still set the mode without -hdr.Mode = fillGo18FileTypeBits(int64(chmodTarEntry(os.FileMode(hdr.Mode))), fi)
+hdr.Mode = int64(chmodTarEntry(os.FileMode(hdr.Mode))) |
8e3003e
to
8c92ca1
Compare
Fixes for containers/buildah#4772 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
LGTM, but does it fix the issue? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM @cevich would it be possible to pull this commit in the branch for running the CI ?
You can manually with Another option is the |
Fixes for containers/buildah#4772