Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just installed mc on centOS 6.3 server specifically to edit war files, however, it won't let me browse/open any archive files (zip, war etc)?


migration rejected from Jan 13 '15 at 22:12

This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as unclear what you're asking by LawrenceC, Kevin Panko, mdpc, Matthew Williams, Excellll Jan 13 '15 at 22:12

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

Are you getting any error messages or other feedback? – Tim Radcliffe Mar 27 '13 at 9:12

I fixed the same problem by removing .magic file in my home directory.

Mc uses "file" command to determine given file type. In my case "file" always returned "data" as a file type - no matter what file I ran it for. I then strace-ed the call and it appeared "file" exited right after checking $HOME/.magic file. As soon as I removed the file, the problem was fixed.


One thing it might be:

Check the file /usr/share/mc/extfs/uzip

Change the line

my $op_has_zipinfo = 0;


my $op_has_zipinfo = 1;
thanks, I have already checked this one, and these flags are correctly set-up! – sdia2000 Mar 27 '13 at 10:15
also check the path of the binaries, should be now: my $app_zip = "/bin/zip"; and my $app_unzip = "/bin/unzip"; – bebbo Jul 14 '15 at 18:47

Not the answer you're looking for? Browse other questions tagged .