Bug 1476753 - file-5.31 fails to detect PGM Netpbm files
file-5.31 fails to detect PGM Netpbm files
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: file (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Marek Cermak
Fedora Extras Quality Assurance
: Regression
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-31 07:16 EDT by Petr Pisar
Modified: 2017-08-08 03:27 EDT (History)
3 users (show)

See Also:
Fixed In Version: file-5.31-8.fc27.x86_64
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-08-08 03:27:46 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
A PGM file (70.49 KB, application/octet-stream)
2017-07-31 07:16 EDT, Petr Pisar
no flags Details

  None (edit)
Description Petr Pisar 2017-07-31 07:16:50 EDT
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.
Comment 1 Marek Cermak 2017-08-08 03:27:46 EDT
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

Note You need to log in before you can comment on or make changes to this bug.