0

Samba automatically translates directory names containing :: to some weird string, and there is no direct mapping to a Unix name.

Example: ddrs04ia::ip76xddrshared_hiphdk_lay::ip76xddrshared_anamux8to1 becomes DUZSMU~9 in Windows.

Any way around this?

2
  • 1
    Not an answer, but it looks like 8.3 filenaming is enabled somewhere: "To maintain backward-compatibility with legacy applications (on DOS and Windows 3.1), on FAT and VFAT filesystems an 8.3 filename is automatically generated for every LFN (Long File Name), through which the file can still be renamed, deleted or opened, although the generated name (e.g. OVI3KV~N) may show little similarity to the original." Commented Jul 6, 2022 at 19:07
  • 2
    Maybe because Windows does not like : in filenames. Commented Jul 6, 2022 at 19:09

1 Answer 1

1

There is no way around this I am afraid. The reason is that : is forbidden character in path names on Windows while on unices it is not.

In Windows : is used for both "disk drive" delimitation and alternate data streams delimitation in filenames, while on unices it can be used freely.

Especially directory formats like maildir(+) and similar are impossible to express on windows.

Only solution is to never expose paths with : in names to windows world.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.