Impossible to name a directory with several spaces and hyphens

Bug #215517 reported by Okki
2
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: nautilus

On a ftp server we cannot create directories named with blank and "-" (E.G. "n1 n2 - n3 n4 - n5 n6"). When we do it we have the following error "The item could not be renamed. There is no "untitled folder" in this folder. Perhaps it was just moved or deleted?". It appears as "untitled folder" while using Nautilus but when we check it out by using SSH or other ftp clients, the name of the folder is the one we chose. After a refresh, the directory disappears completely from the list.

Description: Ubuntu hardy (development branch)
Release: 8.04

nautilus:
  Installé : 1:2.22.2-0ubuntu3
  Candidat : 1:2.22.2-0ubuntu3
 Table de version :
 *** 1:2.22.2-0ubuntu3 0
        500 http://uk.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

gvfs:
  Installé : 0.2.3-0ubuntu1
  Candidat : 0.2.3-0ubuntu1
 Table de version :
 *** 0.2.3-0ubuntu1 0
        500 http://uk.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
Architecture: i386
Date: Fri Apr 11 08:21:29 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/nautilus
NonfreeKernelModules: nvidia
Package: nautilus 1:2.22.2-0ubuntu3
PackageArchitecture: i386
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: nautilus
Uname: Linux 2.6.24-15-generic i686

Tags: apport-bug
Revision history for this message
Okki (gnomelibre) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. What ftp server do you use? Does gvfs-mkdir success to create a such directory?

Changed in nautilus:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Okki (gnomelibre) wrote :

I use ProFTPD 1.3.1-6+b1 from Debian testing.

I can create the directory with gvfs-mkdir "ftp://host/path/n1 n2 - n3 n4 - n5 n6" and I can see it with lftp or ssh, but not with nautilus.

Revision history for this message
Sebastien Bacher (seb128) wrote :

could be similar to bug #208524

Changed in nautilus:
status: Incomplete → New
Revision history for this message
Okki (gnomelibre) wrote :

Thanks to Sebastien Bacher's patch, the bug within the 0.2.3-0ubuntu4 version is now fixed.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks a lot for the feedback, marking this as fixed.

Changed in nautilus:
status: New → Fix Released
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.