Midnight Commander not opening .zip files in SUSE Linux Enterprise Server 11

For some unknown reason, in SLES11, you can’t open .zip or .war archives with mc.

The solution is very simple: as root, edit the file /usr/share/mc/extfs/uzip and change 0 to 1 in this line, at row 22:

my $op_has_zipinfo = 0;

It should be:

my $op_has_zipinfo = 1;
Advertisements