Re: file-type-detection :)
- From: Alexander Larsson <alexl redhat com>
- To: gabor <gabor z10n net>
- Cc: Nautilus <nautilus-list gnome org>
- Subject: Re: file-type-detection :)
- Date: 02 Mar 2004 11:03:18 +0100
On Mon, 2004-03-01 at 23:19, gabor wrote:
> hi,
>
> today i clicken on OOo_1.1.0_LinuxIntel_sdk.tar.gz
> ( the sdk for openoffice-1.1.0) in nautilus-2.5.8,
>
> and got:
> Cannot open OOo_1.1.0_LinuxIntel_sdk.tar.gz.The filename
> "OOo_1.1.0_LinuxIntel_sdk.tar.gz" indicates that this file is of type
> "Tar archive (Gzip-compressed)". The contents of the file indicate that
> the file is of type "TeX font metrics". If you open this file, the file
> might present a security risk to your system.
>
> i understand that trying to detect the filetype from the content can
> fail sometimes, but TEX-FONT-METRICS? :))
This sounds like a bug in the mime sniffing data. Please file a bug at
freedesktop.org.
> another nice one is about the openoffice-1.1.0 sources (apparently
> nautilus doesn't like openoffice):
> Cannot open OOo_1.1.0_source.tar.bz2.
> The filename "OOo_1.1.0_source.tar.bz2" indicates that this file is of
> type "Tar archive (Bzip2-compressed)". The contents of the file indicate
> that the file is of type "Bzip2 compressed file". If you open this file,
> the file might present a security risk to your system.
>
> now i don't understand. but no problem, nautilus gives me a hint what to
> do:
>
> To open the file, rename the file to the correct extension for "Bzip2
> compressed file", then open the file normally.
> :))
>
>
> now what is the correct extension for a bzip2 file?
The extension needs to be matched before content for bzip2 files (its
already so for gzip and zip). Fixed in gnome-vfs HEAD.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alla lysator liu se
He's a suave Amish messiah fleeing from a secret government programme. She's a
warm-hearted renegade schoolgirl from a different time and place. They fight
crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]