<p>When trying out symbolic links on windows i noticed links breakage when geany saves files accessed through such a link.</p>
<p>Steps to reproduce:</p>
<ol>
<li>Prepare link:</li>
</ol>
<div class="highlight highlight-source-powershell"><pre><span class="pl-k">$</span><span class="pl-smi">myDesktop</span> <span class="pl-k">=</span> <span class="pl-s">"<span class="pl-k">$(</span><span class="pl-k">$</span><span class="pl-c1">env:</span><span class="pl-smi">USERPROFILE</span><span class="pl-k">)</span>\Desktop"</span>
<span class="pl-c1">New-Item</span> <span class="pl-k">-</span>path <span class="pl-s">"<span class="pl-k">$</span><span class="pl-smi">myDesktop</span>\target.txt"</span>
<span class="pl-c1">New-Item</span> <span class="pl-k">-</span>path <span class="pl-s">"<span class="pl-k">$</span><span class="pl-smi">myDesktop</span>\symbolic.txt"</span> <span class="pl-k">-</span>ItemType SymbolicLink  <span class="pl-k">-</span>Value <span class="pl-s">"<span class="pl-k">$</span><span class="pl-smi">myDesktop</span>\target.txt"</span></pre></div>
<blockquote>
<p>Note:<br>
Last statement needs admin privileges (at least until creators update or adapting a policy setting).</p>
</blockquote>
<ol start="2">
<li>Use geany to edit <code>$myDesktop\symbolic.txt</code> and save</li>
</ol>
<p>Expected behaviour:<br>
Content of <code>$myDesktop\target.txt</code> reflecting latest edit while  <code>$myDesktop\symbolic.txt</code> still pointing to that file.</p>
<p>Observed behavior:<br>
<code>$myDesktop\target.txt</code> is never touched by the edit.  <code>$myDesktop\symbolic.txt</code> is now a regular file.</p>
<p>This was observed using version 1.30.1</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/1533">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJxz-72ILDA0voMlEcqE1Ol25-bnSks5sK7AtgaJpZM4OOhiA">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ2D__KIx0jqnA1r8cMrFcKxPiGD-ks5sK7AtgaJpZM4OOhiA.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/1533"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Not honoring symbolic links on windows when saving (#1533)"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1533"}}}</script>