<div dir="ltr">Hopefully this isnt premature, but I think I've finally fixed this by tweaking smb.conf <div><br></div><div>Just leaving it here incase other people have a problem in future..</div><div><br></div><div>````</div><div><div>[accounting]</div><div>case sensitive = yes</div><div><br></div><div>[data]</div><div>mangled names = no<br></div><div>mangle case = no</div><div><br></div><div>[global]</div><div>preserve case = yes</div><div>short preserve case = yes</div></div><div>````</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 1 July 2016 at 12:43, Carpii UK <span dir="ltr"><<a href="mailto:carpii.uk@gmail.com" target="_blank">carpii.uk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div><div style="font-family:sans-serif"><span><div style="white-space:pre-wrap"><blockquote style="border-left-width:2px;border-left-style:solid;border-left-color:rgb(119,119,119);color:rgb(119,119,119);margin:0px 0px 5px;padding-left:5px"><div dir="auto"><span style="white-space:normal;color:rgb(34,34,34)">When you get the error please run these tests on your Mac (not via ssh):</span><br></div></blockquote></div></span><div style="white-space:normal">
<pre style="border-radius:5px;margin-left:15px;margin-right:15px;max-width:90vw;padding:5px;background-color:rgb(247,247,247)" bgcolor="#F7F7F7"><code style="border-radius:5px;padding:0px;background-color:rgb(247,247,247)" bgcolor="#F7F7F7"># This is what TextMate does and should fail, otherwise the issue is with TextMate
mv file~ file
</code></pre></div></div></div></blockquote><div><br></div></span><div>This failed, as it seems unable to address the ~ file when accessing it over the share....</div><div><br></div><div><div>$ mv audio.js~ audio.js</div><div>mv: cannot move ‘audio.js~’ to ‘audio.js’: No such file or directory</div></div><div><br></div><div><div>$ ls -l audio.js~</div><div>-rwx------ 1 carpii staff 3412 Jul 1 12:19 audio.js~</div></div><div><br></div><div><div>$ cat audio.js~</div><div>cat: audio.js~: No such file or directory</div></div><div><br></div><div><br></div><div>I *think* what might be happening is that SMB is treating the audio.js~ as a mangled 8.3 character filename, like DOS used to use<br></div><div>Not 10% sure though, as I'd expect it to do it consistently if that were the case</div><div><br></div><div>There's a samba config option to supposedly disable filename mangling anyway, so I'll see if that helps</div></div><br></div></div>
</blockquote></div><br></div>