2011/9/22 Frédéric L. W. <fred...@fredlwm.net>:
> Slackware 13.37 comes with Midnight Commander 4.7.5.2 and UnZip 6.0. When
> I press Enter on a .zip archive, it does nothing. But when I do the same
> on an archive with execute permission, like those mounted from an NTFS
> partition, it returns
>
> bash: ./archive.zip: cannot execute binary file
>
> I also compiled 4.8.0-pre2, but got the same results.
>
> .rar archives work fine. And if I move the urar helper script, it returns
>
> Error
> Inconsistent extfs archive
> sh: /usr/local/libexec/mc/extfs.d/urar: No such file or directory
>
> That's expected. But if I move the zip script, it still doesn't return
> anything. I guess the script isn't even called.
>
> Is the Zip support broken, or it's something on my end ?

The "file" command 5.07 had a bug where it cannot identify ZIP
archives. If MC uses "file" to identify the type, maybe it's failing.
(you can test by running that command yourself to see what it says).
If "file" can't identify ZIP, upgrade or apply the patch:

https://github.com/glensc/file/commit/e990dc53f658cb67ec7b33c32e0bc24e65801792#magic/Magdir/archive
_______________________________________________
mc mailing list
http://mail.gnome.org/mailman/listinfo/mc

Reply via email to