I&#39;ve been trying to debug an application running on Squeak 4.1 randomly crashing on certain setups. It turns out it&#39;s where people have their &#39;My Documents&#39; folder on Windows platforms set to a network share.<br>

<br>As a trivial test case, I can trigger the error like this:<br><br>1. Set up a share (can be on the same machine) called &#39;share&#39;<br>2. Check you can browse in Explorer to &#39;\\server\share&#39; - should be empty<br>

3. Execute the following in a Workspace:<br><br>d := FileDirectory on: &#39;c:\NewDir&#39;. d assureExistence.<br><br>That should create a directory called &#39;NewDir&#39; on the root of the C drive (assuming your machine has a C drive :), just to check everything is working OK.<br>

<br>Now try:<br><br>d := FileDirectory on: &#39;\\server\share\NewDir&#39;. d assureExistence.<br><br>I get &#39;PrimitiveFailed: DosFileDirectory&gt;&gt;primCreateDirectory&#39;. From what I can tell, that method doesn&#39;t see &#39;\\server\share&#39; as effectively the &#39;root&#39; of a filesystem and keeps stepping up a level. I don&#39;t know if that&#39;s the fault of the FilePlugin module, or something else. For info, the versions of the methods in the debug trace are:<br>

<br>DosFileDirectory&gt;&gt;primCreateDirectory: ar 2/2/2001 15:09<br>FileDirectory&gt;&gt;createDirectory: yo 2/24/2005 18:33<br>
FileDirectory&gt;&gt;assureExistenceOfPath: jcg 5/10/2010 14:44<br>FileDirectory&gt;&gt;assureExistence: hg 2/2/2002 16:37<br>

<br>But my guess is that the problem is in FileDirectory&gt;&gt;directoryExists:, as this is where there appears to be handling of special cases for certain file systems. I can&#39;t see anything clever in there for UNC paths though.<br>

<br>See also <a href="http://lists.squeakfoundation.org/pipermail/squeak-dev/2002-March/037091.html">http://lists.squeakfoundation.org/pipermail/squeak-dev/2002-March/037091.html</a> - it&#39;s related, but I can&#39;t track down the fix that Bert referred to, to see if it helps.<br>

<br>Thanks,<br><br>David.<br>