Created attachment 1307034 [details] A PGM file After upgrading file to 5.31, PGM files are not detected: $ rpm -q file file-5.30-8.fc26.x86_64 $ file pgmfile pgmfile: Netpbm image data, size = 216 x 334, rawbits, greymap $ rpm -q file file-5.31-1.fc27.x86_64 $ file pgmfile pgmfile: ASCII text This is still issue with latest file-5.31-5.fc27.x86_64.
Fixed in rawhide: $ rpm -q file file-5.31-8.fc27.x86_64 $ file mandrill.pgm mandrill.pgm: Netpbm image data, size = 512 x 512, rawbits, greymap