archive/zip: Writer drops fs.FileMode data #48166
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Two zips were created with Info-ZIP 3.0 and
Writer
:(it was assumed that the archive files may not be identical, but the input files were)
We can see that both (according to
Reader
) have the same permissions: https://play.golang.org/p/SLK2LT1e1GsThus we would expect
unzip
(still Info-ZIP 3.0), to unpack them identically:What did you expect to see?
(from
info.zip
)What did you see instead?
(from
stdlib.zip
)The text was updated successfully, but these errors were encountered: