
File name that is invalid in Windows causes NTFS error
Hello,
I am part of the Thunderbird development team. Here
https://bugzilla.mozilla.org/show_bug.cgi?id=1265153someone reported that storing a mail message with Thunderbird on Linux on an NTFS volume causes NTFS file system errors.
I stored a file with this name:
[Bug 1265153] linux versions "save file" saves corrupted .eml files on ntfs.eml
onto an NTFS volume.
The reporter of the bug used an exclamation mark in the file name.
In my case I got the following CHKDSK error:
Deleted invalid filename [Bug 1265153] linux versions "save file" saves corrupted .eml files on ntfs.eml (53397) in directory 896043.
File 53397 has been orphaned since all its filenames were invalid
Windows will recover the file in the orphan recovery phase.
Correcting minor file name errors in file 53397.
CHKDSK "rescued" the file to found.000\file0000.chk.
Can you make sure that ntfs-3g sanitises filenames so they don't cause problems on Windows.
I was using Linux Mint 17.1 with ntfs-3g 2014.2.15.A3.3.