bad mimetype detection through ssh if file extensions are not present

Bug #110722 reported by Zoltán Kovács
2
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: nautilus

I have a simple UTF8 encoded file and a configure script. I would like to edit the UTF8 encoded text file via ssh in Nautilus. But the file types seems to be detected as binary (application/octet-stream). When I download the files into my local file system, everything works well, the first file is detected as a text/x-csrc and a text/x-shellscript.

This is bad for me, because I cannot edit these files through ssh in nautilus:

Cannot open ssh://kovzol@pascal/home/kovzol/p/w2/configure: No application suitable for automatic installation is available for handling this kind of file.

In addition, I cannot add the Gnome Text Editor to this file type because I get an error message:

"Nem lehet alkalmazást hozzáadni az alkalmazás-adatbázishoz", in English: "Application cannot be added to the application database", or so.

The simple UTF8 file has the name "COPYRIGHT". I experienced that if I change the name to "COPYRIGHT.txt", then the file type will be detected properly and I can edit this file in nautilus well.

ProblemType: Bug
Architecture: i386
Date: Sat Apr 28 11:31:56 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/nautilus
Package: nautilus 1:2.18.1-0ubuntu1
PackageArchitecture: i386
ProcCmdline: nautilus --no-default-window --sm-client-id default2
ProcCwd: /home/kovzol
ProcEnviron:
 LANGUAGE=hu_HU.UTF-8
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LANG=hu_HU.UTF-8
 SHELL=/bin/bash
SourcePackage: nautilus
Uname: Linux d6252 2.6.20-15-386 #2 Sun Apr 15 07:34:00 UTC 2007 i686 GNU/Linux

Revision history for this message
Zoltán Kovács (kovzol-geogebra) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for the bug report. This particular bug has already been reported, but feel free to report any other bugs you find.

Changed in nautilus:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: Unconfirmed → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.