Ticket #2735 (new defect)
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?
- Unpack attached jar file.
- Navigate to it in MC.
- 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
Change History
Changed 13 years ago by victor-homyakov
- Attachment org.sonatype.m2e.mavenarchiver_0.15.0.201109290002.jar added
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) = @_;
This jar file cannot be opened properly in MC