[Bug 485224] [NEW] Thunderbird saves double attachment file name endings on FAT32 and NTFS
Christoph
christoph at webrahmen.ch
Thu Nov 19 09:03:33 UTC 2009
Public bug reported:
Binary package hint: thunderbird
When saving attachments to a FAT32 or an NTFS partition, Thunderbird duplicates file name endings. E.g. it saves "draft.doc" as "draft.doc" on EXT3/EXT4, but as "draft.doc.doc" on FAT32/NTFS.
I have my Thunderbird profile on a Linux/Windows shared FAT32 partition, but I also checked it with a temporary profile on the main EXT4 partition. So the bug really seems to be in the portion of the software that saves attachments to disk.
Kind of a workaround:
If anyone needs a workaround for large numbers of attachments, here's a very primitive one:
* go to the folder where the double named attachments are
* $ rename -v 's/(\.\w{3}\w?){2}$/$1/' *
This looks for 3 or 4 character long file name endings that are duplicated and removes one copy.
I saved this single line 'script' in a file and installed it to
/usr/local/bin as an executable ($ sudo install yourfilename
/usr/local/bin). Now I can just cd to the concerned folder and say my
magic word (the name of the script), voilà.
ProblemType: Bug
Architecture: i386
Date: Thu Nov 19 09:40:58 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Xubuntu 9.10 "Karmic Koala" - Release i386 (20091028.3)
Package: mozilla-thunderbird (not installed)
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: thunderbird
Uname: Linux 2.6.31-14-generic i686
** Affects: thunderbird (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386
--
Thunderbird saves double attachment file name endings on FAT32 and NTFS
https://bugs.launchpad.net/bugs/485224
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to thunderbird in ubuntu.
More information about the Ubuntu-mozillateam-bugs
mailing list