From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040312
Description of problem:
> file brauerei.pnm
brauerei.pnm: Netpbm PPM "rawbits" image data
Nautilus warns about a security risk. Correcting the extension to
match the magic solves the problem.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. use xsane (as root) to scan a file and save it somewhere
2. try to open the file in Nautilus
Actual Results: A warning is displayed about wrong filetype and a
possible security risk
Expected Results: file should be displayed
I think nautilus is in the wrong here.
I think this is a mime info bug. It might be that we need alias
support in the mime data to handle this.
Yep, fixed upstream now:
2007-02-02 Bastien Nocera <email@example.com>
* freedesktop.org.xml.in: Make PGM, PBM and PPM sub-classes
of PNM (RH #118847)
Fixed in shared-mime-info-0.20-1.fc7