rata73 / theunarchiver

Automatically exported from code.google.com/p/theunarchiver
Other
0 stars 0 forks source link

Unarchiver marks files as directories #827

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi Dag:

I'm a fan of the Unarchiver on Mac, but I recently ran into an issue with a 
particular ZIP file (attached).  Though the ZIP file is extracted fine using 
the Archive Utility app on Mac and `unzip` in the terminal, all the files are 
marked as directories if The Unarchiver is used.

I've attached the ZIP file.  Please let me know if there's any other 
information you would like from me, like a logfile.  I tried to reproduce this 
with another project that builds a ZIP using exactly the same software, but it 
seems that this particular ZIP is problematic with The Unarchiver specifically.

As someone who also develops open-source software, I realise that you may not 
have the time to fix this soon (or maybe at all since it seems to be so rare to 
reproduce) -- but I thought you might like to have the information just the 
same.

Many thanks,

-Max

Original issue reported on code.google.com by maxkfr...@gmail.com on 2 May 2015 at 6:58

Attachments:

GoogleCodeExporter commented 8 years ago
OSX 10.10.3
The Unarchiver 3.9.1

Original comment by maxkfr...@gmail.com on 2 May 2015 at 7:02

GoogleCodeExporter commented 8 years ago
Looks like whatever program created that file erroneously set the OS to MS-DOS, 
and provided some random data in the file attributes field that, interpreted as 
MS-DOS, meant the file was marked as a directory.

I added an extra check for file size to be zero before believing that flag.

It's the zip file creator that is buggy, though, which is nothing unusual, 
there are millions of broken ones out there.

Original comment by paracel...@gmail.com on 20 Jul 2015 at 9:53