[linux-cifs-client] cifs mounted home directory problems
Steve French
smfrench at austin.rr.com
Thu Dec 9 03:23:32 GMT 2004
Kenneth MacDonald wrote:
>It's Novell's Evolution email (groupware) client. It creates lots of
>files with : in the name. It seems it turns /'s into _'s as I have
>lots of
>~/evolution/config/et-expanded-imap:__username at hostname_mailbox_folder
>type filenames.
>
>I found bug http://bugzilla.ximian.com/show_bug.cgi?id=16016 closed a
>couple of years ago with a "it's a filesystem problem".
>
>It seems the filename is sanitised by
>gal/util/e-util.c:e_filename_make_safe(), which leaves colons in. I
>haven't dug deep enough to know whether it would be easy or hard to
>migrate to filenames without colons.
>
>The majority of our users home directories are on Windows servers so
>"fixing" samba isn't sufficient for us unfortunately.
>
>Cheers,
>
>Kenny.
>
>
>
I may be able to do something more natural on the cifs to Windows side
by creating a stream off a fake file (in your case e.g. named "ba") -
perhaps by leveraging reparse points again (hopefully ba would not turn
out to be a filename collision or a collision with an existing
directory) with the "real name" embedded in a stream or EA - still would
not help the case of readdir not listing the whole filename (and
incorrectly pretending that a file ba exists)
Now I am getting curious how this gets mangled on the Windows Services
for Unix when the Linux NFS client tries to create such a file on
Windows server.
More information about the linux-cifs-client
mailing list