Red Hat Bugzilla – Bug 62619
mc destroyed zip archive by merely browsing it
Last modified: 2007-04-18 12:41:36 EDT
Description of Problem:
If you try to browse zip archive contained inside another zip, the latter will
be modified by merely browsing it, thus destroying the original. Ouch!
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create a zip archive
2. add this zip to another zip archive
3. run mc and try to browse this internal zip inside
4. now leave mc
The zip archive which contained that other zip will be modified, destroying the
It should not modify archive just because you are browsing it
that's certainly unfortunate...
Guess mc issues copyin even if the file has not changed (though admit I haven't seen the extfs code for years).
BTW: It looks like all the scripts in /usr/lib/mc/extfs/
should be using mktemp and mktemp -d where appropriate.
4.5.55-4 fixes this