[kmail] [Bug 55339] Using ":" in filenames is incompatible with some NFS servers (Dell and others that are Windows Powered)

Bruno Haible bruno at clisp.org
Mon Jan 7 11:23:34 GMT 2013


https://bugs.kde.org/show_bug.cgi?id=55339

Bruno Haible <bruno at clisp.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bruno at clisp.org

--- Comment #10 from Bruno Haible <bruno at clisp.org> ---
This bug is not completely fixed in KDE 4.8.5.

I tried to activate the workaround, as explained in
http://article.gmane.org/gmane.comp.kde.devel.pim/26928 :
I added to $HOME/.kde4/share/config/kmail2rc, in the section [General], the
line
MaildirFilenameSeparator=!
and renamed all files named id:flags to id!flags inside the
$HOME/.local/share/local-mail directory.
Then, when I select a mail folder on the VFAT formatted USB-stick that is in
maildir format, and perform the action "Mark all mails read" on it, then the
log shows error messages like
Maildir: Failed to rename entry:  "MAILDIR/FOLDER/new/1345995993.R500.HOSTNAME"
 to  "MAILDIR/FOLDER/cur/1345995993.R500.HOSTNAME:2,S" ! Error:  "The argument
is invalid" 

This error message comes from
kdepim-runtime-4.8.5/resources/maildir/libmaildir/maildir.cpp method
Maildir::changeEntryFlags, line 676. This method contains the code
#ifdef Q_OS_WIN
      finalKey.append( QLatin1String("!2,") + mailDirFlags.join(QString()) );
#else
      finalKey.append( QLatin1String(":2,") + mailDirFlags.join(QString()) );
#endif
In other words: For Linux users of maildir folders on NFS mounts (bug 55339)
and of USB-sticks (bug 189441) the code still attempts to use the character ':'
in the filenames. It should use a configurable default here as well.

Please, can you reopen this bug report?

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list