! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Unhelpful Error Message When Filename Not Supported
Status:
RESOLVED: WORKSFORME
Severity:
enhancement

Comments

Description HyperHacker 2008-11-30 23:03:01 CET
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008111318 Ubuntu/8.10 (intrepid) Firefox/3.0.4
Build Identifier: Thunar 0.9.0

Trying to copy files with a ? or \ in their name to a FAT32 filesystem fails with an "invalid argument" error. This gives no real information about what went wrong, and the cause is not immediately obvious if the file is in a large directory being copied.

Reproducible: Always

Steps to Reproduce:
1. Give a file a name that is not supported on FAT32, such as anything with a ? or \ in it.
2. Copy the file to a FAT32 filesystem.
Actual Results:  
Error message says "invalid argument".

Expected Results:  
Error message should give a more helpful message like "The filename "foo?.bar" is not supported on this filesystem" or prompt for a new filename.
Comment 1 Andre Miranda editbugs 2020-05-21 01:37:30 CEST
Now it says "Invalid filename", I think that's good enough.
Nemo and Nautilus copy the file replacing invalid characters with '_', that's could be a interesting feature request.
Comment 2 Andre Miranda editbugs 2020-05-21 02:27:46 CEST
That feature is already requested at Bug 10847.

Bug #4669

Reported by:
HyperHacker
Reported on: 2008-11-30
Last modified on: 2020-05-21

People

Assignee:
Jannis Pohlmann
CC List:
2 users

Version

Version:
unspecified

Attachments

Additional information