long name in samba leads to weird short ("msdos" style) name seen on a mac
recently, i ripped a boo on cd that i have. the directory produced is called
"Influencer - Patterson et al."
when i put it in my music share (via ssh from the linux machine that it ripped it),
i was surprised when i was looking for it from a mac, i see it with a directory name:
why is that?
sounds like some encoding issue.
#6 Updated by cpg over 13 years ago
- Assignee set to cpg
Interesting, I did a couple more tests.
I created three test directories:
This is a Test. This is another Test YetAnotherTest.
their names end up appearing like:
TT5DER~4 This is another Test Y2X2UV~O
from within the mac, i renamed the Y2X2UV~O file to YetAnotherTest. (with a dot at the end), which worked, and now i see it in linux as:
this is cut and pasted via the terminal in the mac into firefox and this bug tracker, so i don't expect it to show much.
#8 Updated by obnox over 13 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
ok, this is not a bug, it is a feature:
windows does not allow file names ending on a '.' character
(neither files ending on spaces).
this behaviour of samba ensures that these files will be accessible by CIFS clients at all...
Also available in: Atom