Workspace share: Windows trailing-space names break Linux paths¶
URL: https://mkdocs.justinsforge.com/memory/general/reference_workspace_smb_trailing_space/
- Symptom:
lsof the parent shows the folder (e.g.Reference), butls/staton the path itself returns "No such file or directory". - Cause: the name was created from Windows (W: drive, SMB) with a TRAILING SPACE. Samba's SFM mapping stores it as
Reference(private-use char). NFS clients (Console) see the raw name; the visually-typed path never matches. - Detect:
ls -b <parent> | cat -AshowsM-oM-^@M-(at the end of the name. - Fix:
mv <parent>/$'Name\xef\x80\xa8' <parent>/Name(bytes\xef\x80\xa8= U+F028). Trailing period maps to U+F029 (\xef\x80\xa9). - Prevention: no trailing spaces/periods in folder names created from Windows on
/mnt/workspace. Hit 2026-07-02 withCreator-Track-AI/Reference /habits ios(both levels affected).
[Claude Code]