The Samba-Bugzilla – Bug 9472
some files cannot be created with mfsymlinks
Last modified: 2012-12-20 13:11:05 UTC
I am using mfsymlinks to be able to use a basic set of functionality on a share that does not support Unix Extensions.
Sadly, it's not possible to create files like this:
touch 'foo:bar' (which is even worse as it results in a file called foo)
Well, " and : are illegal characters in the SMB world. Without Unix extensions I do not see how this could work. I know that the OS/X finder plays very nasty tricks to map : to some otherwise unused Unicode character. If you create a file with : in Finder and then ls -l that file in a terminal, something else shows up. That's exactly to work around the : " <> and so on being illegal chars.
mount.cifs has the "mapchars" option that maps the characters : ? | * < > to the unicode remap range above 0xF000 (see the mount.cifs) manpage.
For the : character, this should help.
The " character might be a different problem.