When I mount a SMB share on macOS Sequoia, I see garbage filenames for some folders, e.g., _Z78J5~C. This is apparently due to SMB falling back into some DOS 8.3 compatibility mode.
I gather this is happening because some directory names end with a "." character. However, the naming of the directories is done by an app, so I can't rename them myself without breaking it.
I tried adding "mangled names = no" as an SMB config option, and the correct directory names do appear, but I cannot see any of the files inside the directory.
EDIT: I have searched the Net and found dozens of posts asking the same question, but with no resolution. It seems there was some very arcane solution that involved creating a custom "mangled map" but that was deprecated by Samba over a decade back.
Is it possible to fix this, or do I need to give up on SMB and figure out NFS instead ?
TIA