Bug#397945: File type detection is broken and annoying ("cannot
open FOO")
Anthony DeRobertis
anthony at derobert.net
Fri Nov 10 17:07:58 CET 2006
Package: nautilus
Version: 2.14.3-3
Severity: normal
Routinely I get dialogs that read along the lines of:
Cannot open FOO.js
The filename "FOO.js" indicates that this file is of type
"JavaScript program". The contents of the file indicate that the
file is of type "C source code". 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 "C source code",
then open the file normally. Alternatively, use the Open With
menu to choose a specific application for the file.
This is not the most absurd one I've gotten. Once it decided that a WAV
file — that's right, a binary file — is plain text! And then refused to
play it...
1. This file doesn't look like C code, at least not any more than any
other JavaScript code. Currently, it is available on the web at
<http://asurvey.net/ccsfagent/media/survey.js>.
2. It might present a security risk to the system about as much as, say,
a meteor. A meteor could hit the system. A C file named FOO.js is
probably no more likely to present a security risk when passed to
gvim.
3. The suggestion to rename it is, of course, silly because it's been
misidentified.
4. The suggestion to use Open With is silly because you have to do that
each and every time; there is no way to say "no, you idiotic
nautilus, you're wrong, it's a damned javascript file, shut up."
I've searched preferences, I've searched gtweakui-nautilus, I've
searched gconf: There appears to be no way to turn off this. Please,
please fix it...
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages nautilus depends on:
ii desktop-file-utils 0.11-1 Utilities for .desktop files
ii gnome-control-center 1:2.14.2-3+b1 utilities to configure the GNOME d
ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi
ii libatk1.0-0 1.12.3-1 The ATK accessibility toolkit
ii libbonobo2-0 2.14.0-2 Bonobo CORBA interfaces library
ii libc6 2.3.6.ds1-7 GNU C Library: Shared libraries
ii libeel2-2 2.14.3-1 Eazel Extensions Library (for GNOM
ii libesd-alsa0 [libesd0] 0.2.36-3 Enlightened Sound Daemon (ALSA) -
ii libexif12 0.6.13-4 library to parse EXIF files
ii libgail-common 1.8.11-3 GNOME Accessibility Implementation
ii libgail17 1.8.11-3 GNOME Accessibility Implementation
ii libgconf2-4 2.16.0-2 GNOME configuration database syste
ii libglade2-0 1:2.6.0-2 library to load .glade files at ru
ii libglib2.0-0 2.12.4-1 The GLib library of C routines
ii libgnome-desktop-2 2.14.3-1 Utility library for loading .deskt
ii libgnome2-0 2.16.0-2 The GNOME 2 library - runtime file
ii libgnomecanvas2-0 2.14.0-2 A powerful object-oriented display
ii libgnomeui-0 2.14.1-2 The GNOME 2 libraries (User Interf
ii libgnomevfs2-0 2.14.2-2+b1 GNOME virtual file-system (runtime
ii libgtk2.0-0 2.8.20-3 The GTK+ graphical user interface
ii libnautilus-extension1 2.14.3-3 libraries for nautilus components
ii liborbit2 1:2.14.3-0.1 libraries for ORBit2 - a CORBA ORB
ii libpango1.0-0 1.14.7-1 Layout and rendering of internatio
ii libpopt0 1.10-3 lib for parsing cmdline parameters
ii librsvg2-2 2.14.4-2 SAX-based renderer library for SVG
ii libstartup-notification0 0.8-2 library for program launch feedbac
ii libx11-6 2:1.0.3-2 X11 client-side library
ii libxml2 2.6.27.dfsg-1 GNOME XML library
ii nautilus-data 2.14.3-3 data files for nautilus
ii shared-mime-info 0.19-1 FreeDesktop.org shared MIME databa
Versions of packages nautilus recommends:
ii desktop-base 0.3.17 common files for the Debian Deskto
ii eject 2.1.4-2.1 ejects CDs and operates CD-Changer
ii fam 2.7.0-11 File Alteration Monitor
ii libgnomevfs2-extra 2.14.2-2+b1 GNOME virtual file-system (extra m
ii librsvg2-common 2.14.4-2 SAX-based renderer library for SVG
ii nautilus-cd-burner 2.14.3-2 CD Burning front-end for Nautilus
-- no debconf information
More information about the Pkg-gnome-maintainers
mailing list