Hello Adrian,

> Do you have a reproducer for this bug, i.e. a sample ZIP archive which
> demonstrates the bug?

yes, you can for example download the latest zipped commit from shopware/platform:

https://github.com/shopware/platform/archive/dd2bf30d0519dcd9416dc269c88edcfd66f92add.zip

When you unzip it with openSUSE's unzip in bash the file

platform-dd2bf30d0519dcd9416dc269c88edcfd66f92add/src/Storefront/Resources/app/storefront/dist/assets/icon/default/editor-redo.svg

gets erroneously converted into a symlink.

It was reproducible with the same file on Leap 15.3 and Tumbleweed and two different AMD CPUs, so I guess the same file should become a symlink for you.

In the zip file are only two real symlinks:

  platform-dd2bf30d0519dcd9416dc269c88edcfd66f92add/bin/console -> shopware
  platform-dd2bf30d0519dcd9416dc269c88edcfd66f92add/easy-coding-standard.php -> ecs.php

So any other file becoming a symlink is caused by this bug.

This bug happens with nearly every zipped commit (because it has enough files) so you could for example just take an older commit:

https://github.com/shopware/platform/archive/5c5f5d9b0d502dc104eee89456d1b0b766a1cac2.zip

and when you unzip it files get converted to symlinks again

In the last zip the file which gets converted into a symlink is:

platform-5c5f5d9b0d502dc104eee89456d1b0b766a1cac2/src/Storefront/Resources/app/storefront/dist/assets/icon/default/editor-undo 2.svg


kind regards,
Kira