Skip to contentSkip to conversation

"file" cmd ISO mime type: "octet-stream" should be "x-iso9660-image"

DISCUSSION Robert P. J. Day 1 participant 1 message Jan 28, 2021

lore
Share & tools
lore
#0 lore raw

apparently, the newer version of "file", when asked about the mime
type of an ISO image, reports:

application/octet-stream

when, from what i read, it should (and used to) report:

application/x-iso9660-image

the above unexpected(?) behaviour comes with file-5.37, and it's been seen in the wild:

https://bugs.launchpad.net/ubuntu/+source/file/+bug/1763570

is this a known issue? i checked bugzilla but didn't find anything, and this change in behaviour is messing with some install scripts which use "file" to verify that something is a valid ISO image by looking for the string "x-iso9660-image".

thoughts? others certainly seem to think this is a bug.

rday