Description of problem: mc doesn't handle properly "Java archive data (JAR)" files. Version-Release number of selected component (if applicable): $ rpm -qv mc mc-4.8.13-1.fc22.i686 $ rpm -qv file file-5.22-4.fc22.i686 How reproducible: 100% Steps to Reproduce: 1. $ wget http://apache.belnet.be/cxf/3.1.2/apache-cxf-3.1.2.tar.gz 2. $ tar -zxf apache-cxf-3.1.2.tar.gz 3. Try go open apache-cxf-3.1.2/lib/cxf-core-3.1.2.jar with mc Actual results: It doesn't work. Expected results: Should work. Additional info: $ file apache-cxf-3.1.2/lib/cxf-core-3.1.2.jar apache-cxf-3.1.2/lib/cxf-core-3.1.2.jar: Java archive data (JAR) So we have two different data types (reported by 'file' and handled by 'mc'): file: Java archive data (JAR) /etc/mc/mc.ext: Java Jar file data (zip) Applying the following patch works for me: $ diff -u mc.ext.orig mc.ext --- mc.ext.orig 2015-09-10 10:51:45.459048767 +0200 +++ mc.ext 2015-09-10 10:52:18.636675156 +0200 @@ -691,7 +691,7 @@ View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view zip # jar(zip) -type/i/^Java\ Jar\ file\ data\ \(zip\) +type/i/^Java\ archive\ data\ \(JAR\) Open=%cd %p/uzip:// View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view zip But I'm not sure if the old "Java Jar file data (zip)" data type can be safely removed.
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.