RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1249642 - mc misses the support for zip archives with non-ZIP MIME
Summary: mc misses the support for zip archives with non-ZIP MIME
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: mc
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Denys Vlasenko
QA Contact: Iveta Wiedermann
URL:
Whiteboard:
Depends On:
Blocks: 1295826 1296180 1313485
TreeView+ depends on / blocked
 
Reported: 2015-08-03 13:13 UTC by Matěj Cepl
Modified: 2016-11-04 00:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-04 00:06:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch (2.73 KB, patch)
2016-01-14 19:22 UTC, Denys Vlasenko
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2181 0 normal SHIPPED_LIVE mc bug fix update 2016-11-03 13:17:39 UTC

Description Matěj Cepl 2015-08-03 13:13:43 UTC
Description of problem:
There are too many document formats which are actually just a
zipfile containing bundle of XML (or other) files with some
metadata included. OpenDocument format, OOXML, Java JAR file are
just most famous examples of this trend.

All these files although they are in fact zipfiles have they own
MIME types and file(1) reports something else than a "Zip
archive". And that's a good idea. However, mc could be a very
good tool for diving inside these archives.

Normally, I was able to investigate the content of the document
by renaming it to *.zip file and then opening it via mc.

Unfortunately, it doesn't work anymore. After some investigation
it seems that /etc/mc/mc.ext contains only the rule:

    # zip
    type/i/^zip\ archive
	    Open=%cd %p/uzip://
	    View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view zip

whereas the upstream contains also

    # zip
    shell/i/.zip
            Open=%cd %p/uzip://
            View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view zip

Unfortunately, this rule is missing from the RHEL package.

Version-Release number of selected component (if applicable):
mc-4.8.7-8.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.rename *.odt file to *.odt.zip
2.press ENTER on this file in mc
3.

Actual results:
nothing happens

Expected results:
the file should open as a directory and should be browseable.

Comment 4 Denys Vlasenko 2016-01-14 19:22:08 UTC
Have patch, need pm_ack+ qa_ack+ to proceed

Comment 5 Denys Vlasenko 2016-01-14 19:22:46 UTC
Created attachment 1114938 [details]
Patch

Comment 7 Denys Vlasenko 2016-03-01 18:29:46 UTC
New build:

https://brewweb.devel.redhat.com/taskinfo?taskID=10582791

Comment 11 errata-xmlrpc 2016-11-04 00:06:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2181.html


Note You need to log in before you can comment on or make changes to this bug.