GNOME Bugzilla – Bug 771364
Filename containing '|' can't be copied to vfat filesystems
Last modified: 2018-02-18 08:31:27 UTC
It fails when a file whose name includes a '|' is copied to vfat filesystem. This seems to be originally fixed in bug 309584, along with many others. The usual way is replacing '|' with '_'. This happens with characters like '*":><' etc. but not '|'
Nice catch. The fix mentioned in bug 309584 is certainly commit f952bc29a3b5c1076fef916ffafd87eb8fff7a05 That patch did not include '|' in the FAT_FORBIDDEN_CHARACTERS, and this remains unchanged until this day. I don't know if it is intentional or accidental.
Created attachment 358972 [details] [review] file-operations: forbid more characters in FAT ‘\’ and ‘|’ aren’t allowed in both 8.3 and long file names.
Review of attachment 358972 [details] [review]: thanks!
Attachment 358972 [details] pushed as f4292a5 - file-operations: forbid more characters in FAT
Comment on attachment 358972 [details] [review] file-operations: forbid more characters in FAT Err… Maybe after the code freeze. :)
Attachment 358972 [details] pushed as 0e546d2 - file-operations: forbid more characters in FAT
Ernestas, since Ubuntu is going to stick with Nautilus 3.26 for the LTS version in April, can we have this patch again on the 3.26 stable branch? You committed it once there but had to back it out again (I think it was some freeze violation back then).
(In reply to amano from comment #7) > Ernestas, since Ubuntu is going to stick with Nautilus 3.26 for the LTS > version in April, can we have this patch again on the 3.26 stable branch? > > You committed it once there but had to back it out again (I think it was > some freeze violation back then). I’ll look into it, thanks for the reminder.
Pushed as https://gitlab.gnome.org/GNOME/nautilus/commit/e4ee98d15846798ed5088e2d5a8a0024c622509c.