id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
3433	"cd into zip file fail with ""inconsistent extfs archive"""	fubbes	andrew_b	"It's not possible to {{{cd}}} into some zip files. This happen only for specific ones.

After some investigations it seems mc isn't able to handle zip files with entries which have broken Unix file attributes. Whereas the zip file itself can be extracted without any problem.

'''zip with valid Unix permissions'''

{{{
$ /usr/lib/mc/extfs.d/uzip list foo.zip
drwxrwxrwx 1 1000 1000 0 03/27/2015 04:39:26 addons/
}}}

{{{
$ zipinfo foo.zip | grep Unix
file system or operating system of origin: Unix
Unix file attributes (040777 octal): drwxrwxrwx
}}}

'''zip with invalid Unix permissions'''
{{{
$ /usr/lib/mc/extfs.d/uzip list foo_broken.zip
?rwsrwsrwt 1 1000 1000 0 03/27/2015 04:39:26 addons/
}}}

{{{
$ zipinfo foo_broken.zip | grep Unix
file system or operating system of origin: Unix
Unix file attributes (177777 octal): ?rwsrwsrwt
}}}

issue is also on github: https://github.com/MidnightCommander/mc/issues/55
"	defect	closed	major	4.8.16	mc-vfs	4.8.14	fixed	extfs uzip				merged	committed-master
