Ticket #2735 (new defect)

Opened 13 years ago

Last modified 7 years ago

Cannot open some jar files in VFS

Reported by: victor-homyakov Owned by:
Priority: major Milestone: Future Releases
Component: mc-vfs Version: 4.7.5.5
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

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;

Attachments

org.sonatype.m2e.mavenarchiver_0.15.0.201109290002.jar (16.7 KB) - added by victor-homyakov 13 years ago.
This jar file cannot be opened properly in MC
JMeterPlugins-Standard-1.3.1.zip (1.2 MB) - added by IceMan 9 years ago.

Change History

Changed 13 years ago by victor-homyakov

This jar file cannot be opened properly in MC

comment:1 Changed 12 years ago 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) = @_;
Last edited 7 years ago by andrew_b (previous) (diff)

comment:2 Changed 12 years ago by slavazanko

Is this fix workaround or should be applied constantly?

Changed 9 years ago by IceMan

comment:3 Changed 7 years ago by andrew_b

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

Note: See TracTickets for help on using tickets.