Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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)?

share

migration rejected from stackoverflow.com Jan 13 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 ultrasawblade, Kevin Panko, mdpc, Matthew Williams, Excellll Jan 13 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.

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

2 Answers 2

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.

share

One thing it might be:

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

Change the line

my $op_has_zipinfo = 0;

to

my $op_has_zipinfo = 1;
share
    
thanks, I have already checked this one, and these flags are correctly set-up! –  sdia2000 Mar 27 '13 at 10:15

Not the answer you're looking for? Browse other questions tagged or ask your own question.