Hello, I have been using cifs to mount user's home directories from a samba server for a couple of months now. Everything has been great, except for a couple of apps, that can not be used with cifs. Client: Debian 2.6.11 cifs-1.34 Server: Debian 2.4.27-2 3.0.10-1 STEPS TO REPRODUCE: 1) Use cifs to mount a user's home directory with serverino option turned on (kmail stores the Mail directory in the home directory by default). 2) Alternatively, edit ~/.kde/share/config/kmailrc, and add e.g. folders=/mycifsmount/Mail to the “[General]” section. 3) Configure kmail (i.e. SMTP server, etc) and send an email. RESULT: kmail crashes. "[Error - KNotify] KMail found a fatal error and will exit now." EXPECTED: No crash.
Changed platform.
Confirmed - I see the same thing on gentoo running a 2.6.11.11 kernel mounted on a loopback mount to localhost. I am investigating.
kmail has a problem creating the file "Mail/sent-mail/tmp/1121880881.20064.vQUZ5:2,S". I believe using the "mapchars" mount option will fix it, but I need to update my kernel before I can verify it.
I upgraded to linux-2.6.13-rc3, mounted with the "mapchars" option, and kmail now sends mail without crashing.
Confirmed on Debian 2.6.11. Using the "mapchars" option, kmail can send mail without crashing.
Fixed after 2.6.11 (cifs.ko) with addition of mapchars mount option (future versions of samba server make this unnecessary when the server is changed to better detect a posix client such as the cifs vfs).