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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content