Bug 118847 - xsane saves files as .ppm, not .pnm
Summary: xsane saves files as .ppm, not .pnm
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: shared-mime-info
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bastien Nocera
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-03-21 15:33 UTC by Joerg Skottke
Modified: 2007-11-30 22:10 UTC (History)
3 users (show)

Fixed In Version: 0.20-1.fc7
Clone Of:
Environment:
Last Closed: 2007-02-06 12:55:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joerg Skottke 2004-03-21 15:33:18 UTC
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):
xsane-0.92-7

How reproducible:
Always

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

Additional info:

Comment 1 Tim Waugh 2004-03-26 10:53:03 UTC
I think nautilus is in the wrong here.

Comment 2 Alexander Larsson 2004-03-29 08:47:53 UTC
I think this is a mime info bug. It might be that we need alias
support in the mime data to handle this.

Comment 3 Bastien Nocera 2007-02-02 10:26:35 UTC
Yep, fixed upstream now:

2007-02-02  Bastien Nocera  <hadess>

        * freedesktop.org.xml.in: Make PGM, PBM and PPM sub-classes
        of PNM (RH #118847)


Comment 4 Bastien Nocera 2007-02-06 12:55:12 UTC
Fixed in shared-mime-info-0.20-1.fc7


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