Home > Deldorado > mc unzip problem on ubuntu karmic

mc unzip problem on ubuntu karmic

November 25th, 2009 Leave a comment Go to comments

Ubuntu 9.10 (Karmic Koala) has a little issue with Midnight Commander – it does not browse into zipped files, and shows empty contents instead. After searching the web I found out that the problem can be solved by setting property “op_has_zipinfo” to “1″ in file “/usr/share/mc/extfs/uzip”. For the truly lazy people I prepared this little commandline fixing that (no need to open the editor):

sudo sed '/op_has_zipinfo/{s:0:1:}' /usr/share/mc/extfs/uzip >x && sudo chmod 755 x && sudo mv x /usr/share/mc/extfs/uzip

Enjoy!

  • Andrzej Bialecki

    This was driving me crazy – after making the change the problem disappeared. Thanks a million!

  • http://libc6.blogspot.com libc6

    Very simple and elegant problem solving.
    I’ve reposted it to my blog with link to you. Thanks a lot.

  • Jabba

    Tanks a lot, this bug was very annoying…

  • hardyolbaum

    Can I translate this in my language and publish it on my website with your name? I’m french and some french has a really poor english. if this fix is in french I’m sure it could help many people.

  • Pingback: Linux-squad, le squad linux » mc unzip problem on ubuntu karmic

  • Petr Kozelka

    @hardyolbaum
    sure, I welcome that

  • J

    Thanks a lot. BTW: the one-liner seams to be too long for firefox to display…
    Thanks anyway

  • Pingback: SLjunkie » Blog Archive » mc uzip probleem ubuntu karmic

  • S. Wefel

    Thanks a lot …

  • pls

    thanks man, it helped me!)

  • http://www.mikestechblog.com Ubuntu Guy

    Thanks for this post. I was trying to figure out why it would not browse into zipped files. This took care of it.

  • Airfire

    Solved!