Copying/moving files from one filesystem to another fails if filename contains unallowed characters by the other file system

Bug #505898 reported by Otto Kekäläinen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GnomeVFS
Invalid
Low
gnome-vfs2 (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Steps to reproduce:
1. Open home folder on Ubuntu (file system ext3 or ext4)
2. Make new file called "Cambridge 08\09 images.zip"
3. Insert a USB key made in Windows (file system vfat or ntfs)
4. Copy file to USB key
=> Nautilus complains that it cannot copy the file.

In fact the reason is that the reciving file system (vfat/ntfs) cannot have the character "\" in their file names. In a situation like this Nautilus or GnomeVFS should
a) automatically rename the file to something like "Cambridge 08-09 images.zip" and notify the user that the files was renamed to avoid illegal characters
b) inform the user that the file contains illegal characters, and that it must be renamed before it can be copied/moved.

Revision history for this message
WeatherGod (ben-v-root) wrote :

I can confirm this behavior, however, I am hesitant to call this a bug.

My vote is for option 'b', telling the user that the file contains illegal characters and must be renamed. Currently, the system only states "Invalid Filename" which may be confusing to users.

Changed in gnome-vfs2 (Ubuntu):
status: New → Confirmed
Revision history for this message
Otto Kekäläinen (otto) wrote :

Actually the option B has been implemented in the newest Gnome (I just tried), so somebody probably reported this somewhere before.

Changed in gnome-vfs2 (Ubuntu):
status: Confirmed → Invalid
status: Invalid → Confirmed
Revision history for this message
Otto Kekäläinen (otto) wrote :

..although the error message could still be a bit better. I opened a bug at Gnome Bugzilla.

Changed in gnome-vfs2 (Ubuntu):
assignee: nobody → gnomebug (forhost)
assignee: gnomebug (forhost) → nobody
Changed in gnome-vfs2 (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Low
Changed in gnome-vfs:
importance: Unknown → Low
status: Unknown → New
Changed in gnome-vfs:
status: New → Invalid
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.