[Midnight Commander] #2735: Cannot open some jar files in VFS

272 views
Skip to first unread message

Ticket System

unread,
Feb 20, 2012, 9:41:01 AM2/20/12
to homy...@isida.by, mc-...@googlegroups.com
#2735: Cannot open some jar files in VFS
---------------------------------------+--------------------------------
Reporter: victor-homyakov | Owner:
Type: defect | Status: new
Priority: major | Milestone: Future Releases
Component: mc-vfs | Version: 4.7.5.5
Keywords: | Blocked By:
Blocking: | Branch state: no branch
Votes for changeset: |
---------------------------------------+--------------------------------
Some valid jar files cannot be opened properly in MC.

'''What steps will reproduce the problem?'''
1. Unpack attached jar file.
2. Navigate to it in MC.
3. Press Enter.

'''What is the expected output?'''
VFS panel (contents of jar as folder).

'''What do you see instead?'''
Red error message "Inconsistent extfs archive". After that you can enter
into jar archive, but some files will be invisible and error message will
not appear. Jar file contains no errors.

'''LC_MESSAGES=C mc -V'''
GNU Midnight Commander 4.7.5.5
Built with GLib 2.24.1
Using the S-Lang library with terminfo database
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm
With support for X11 events
With internationalization support
With multiple codepages support
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, fish, smbfs
Data types: char: 8; int: 32; long: 32; void *: 32; size_t: 32; off_t: 64;

--
Ticket URL: <http://www.midnight-commander.org/ticket/2735>
Midnight Commander <http://www.midnight-commander.org>
Midnight Development Center

Ticket System

unread,
Aug 27, 2012, 11:17:59 AM8/27/12
to homy...@isida.by, mc-...@googlegroups.com
#2735: Cannot open some jar files in VFS
--------------------------------+---------------------------------------
Reporter: victor-homyakov | Owner:
Type: defect | Status: new
Priority: major | Milestone: Future Releases
Component: mc-vfs | Version: 4.7.5.5
Resolution: | Keywords:
Blocked By: | Blocking:
Branch state: no branch | Votes for changeset:
--------------------------------+---------------------------------------

Comment (by rkuzmik):

This is due to broken Maven Archive plugin. So the actual jar file is
somewhere broken. plexus-io 2.0.3 should fix the problem.

or you can just workaround editing /usr/lib/extfs.d/uzip

and put the following line

if ($perms eq '?rwsrwsrwt') {$perms = 'drwxr-xr-x'};

right after:

sub print_file {
my
($perms,$zipver,$platform,$realsize,$format,$cmpsize,$comp,$year,$mon,$day,$hours,$mins,$secs,$filename)
= @_;

--
Ticket URL: <http://www.midnight-commander.org/ticket/2735#comment:1>

Ticket System

unread,
Aug 28, 2012, 9:29:07 AM8/28/12
to homy...@isida.by, mc-...@googlegroups.com
#2735: Cannot open some jar files in VFS
--------------------------------+---------------------------------------
Reporter: victor-homyakov | Owner:
Type: defect | Status: new
Priority: major | Milestone: Future Releases
Component: mc-vfs | Version: 4.7.5.5
Resolution: | Keywords:
Blocked By: | Blocking:
Branch state: no branch | Votes for changeset:
--------------------------------+---------------------------------------

Comment (by slavazanko):

Is this fix workaround or should be applied constantly?

--
Ticket URL: <http://www.midnight-commander.org/ticket/2735#comment:2>

Ticket System

unread,
Jul 21, 2017, 2:14:55 PM7/21/17
to vkhom...@gmail.com, mc-...@googlegroups.com
#2735: Cannot open some jar files in VFS
--------------------------------+---------------------------------------

Reporter: victor-homyakov | Owner:
Type: defect | Status: new
Priority: major | Milestone: Future Releases
Component: mc-vfs | Version: 4.7.5.5
Resolution: | Keywords:

Blocked By: | Blocking:
Branch state: no branch | Votes for changeset:
--------------------------------+---------------------------------------

Comment (by andrew_b):

Ticket #3842 has been marked as a duplicate of this ticket.

--
Ticket URL: <http://www.midnight-commander.org/ticket/2735#comment:3>

Reply all
Reply to author
Forward
0 new messages