The `file` command may not report MIME type for XML files in Red Hat Enterprise Linux 5.

Solution Verified - Updated -

Issue

  • file -i may not detect XML files.
  • Tried using:
# file -i 
  • Trying to get the mime-type string for the file is what is failing.

Environment

  • Red Hat Enterprise Linux 5.4
  • file-4.17-15.el5_3.1-x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.