[current]mc doesn't open archives with non standard extension
mc isn't opening archives with a non standard extension.
I just noticed this recently, in the last year or so and I am not sure what the issue is so I'm not sure where to start looking. In my own case I am working with zip files with a non standard extension like .fr0 or .sa1. I was always able to open those files with mc and read or copy the files within those archives. Can anyone shed some light on this and point me toward a solution? |
Never really tested this before, but are you sure it was not a custom function for fr0 and sa1 listed in your /etc/mc/mc.ext file?
AFAIK, that is where zip extension is specified, for mc to be able to read a zip file. |
Quote:
This does work on 14.2 but not -current and I am not sure what the difference is. |
Might've been changed in mc code upstream, I can't make it open zip.fr0 on mc-4.8.26 either.
Edit: Nevermind, according to changelog, it's highly likely that this has caused it: Code:
Version 4.8.12 |
Quote:
|
Quote:
Probably best to report it upstream, doesn't seem like packaging issue. |
There's an easy workaround.
Code:
sed -i 's|^\(type/\)i/^zip\\|\1\\(Zip|' /etc/mc/mc.ext This may still be not enough on Slackware-current if file there is linked with libseccomp (it isn't on Debian, but Slackware rarely changes upstream defaults). mc would also need this patch then. |
[SOLVED] [current]mc doesn't open archives with non standard extension
Quote:
|
It appears that it's fixed upstream in 4.8.27
|
Quote:
http://midnight-commander.org/wiki/NEWS-4.8.27 |
All times are GMT -5. The time now is 07:39 PM. |