HI Sebastien,

Sure. Here is a zip file that it's very easy to use to reproduce the
defect. The defect s not in the bsdtar, it's in libarchive. However,
since bsdtar depends on libarchive, this can be used to demonstrate the
problem as someone reports in the GitHub issue report:

https://github.com/libarchive/libarchive/issues/822

If you try to extract the content with bsdtar:

#  bsdtar -vxf example.zip

You will see and error, and if you look to the result in the filesystem,
that 'ABCD_1234' and 'empty' are created as files instead of
directories. If you try the same operation using unzip in other
directory (or after cleaning the previous operation):

# unzip example.zip

You will see the right result (ABCD_1234 and empty directories).

Thanks for take care of this,
Alejandro


** Attachment added: "example.zip"
   
https://bugs.launchpad.net/ubuntu/+source/libarchive/+bug/1830629/+attachment/5268728/+files/example.zip

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1830629

Title:
  Errors when extracting ZIP files. It can not differentiate between
  files and directories

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libarchive/+bug/1830629/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to