Bug#518250: [nautilus] png files don't open - file type "png document" but contents of "PNG image"

Emilio Pozuelo Monfort pochu at ubuntu.com
Thu Mar 5 12:18:54 UTC 2009


Jordi Burguet-Castell wrote:
> Nautilus will not open png files (unless right-clicking and selecting
> "Open With..."), claiming the following:
> 
> """
> The filename "hoftmon-working.png" indicates that this file is of type
> "png document". The contents of the file indicate that the file is of
> type "PNG image". If you open this file, the file might present a
> security risk to your system.
> 
> Do not open the file unless you created the file yourself, or received
> the file from a trusted source. To open the file, rename the file to the
> correct extension for "PNG image", then open the file normally.
> Alternatively, use the Open With menu to choose a specific application
> for the file.
> """

Could paste the output of running the attached binary in a terminal?
You have to run it like "./test-mime-info-cache-new". I'm also attaching the
source code in case you want to compile it yourself (do it with "gcc
test-mime-info-cache-new.c -o test-mime-info-cache-new `pkg-config --cflags
--libs gnome-vfs-2.0`").

Also, after doing that, can you downgrade shared-mime-info to the version in
testing and see if the problem goes away?

Thanks,
Emilio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-mime-info-cache-new
Type: application/octet-stream
Size: 7552 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20090305/fb3a9c91/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-mime-info-cache-new.c
Type: text/x-csrc
Size: 1005 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20090305/fb3a9c91/attachment.c 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20090305/fb3a9c91/attachment.pgp 


More information about the pkg-gnome-maintainers mailing list