[Github-comments] [geany/geany] Not honoring symbolic links on windows when saving (#1533)

R1dO notifications at xxxxx
Wed Jul 5 15:47:57 UTC 2017


When trying out symbolic links on windows i noticed links breakage when geany saves files accessed through such a link.

Steps to reproduce:

1) Prepare link:
```powershell
$myDesktop = "$($env:USERPROFILE)\Desktop"
New-Item -path "$myDesktop\target.txt"
New-Item -path "$myDesktop\symbolic.txt" -ItemType SymbolicLink  -Value "$myDesktop\target.txt"
```
> Note: 
> Last statement needs admin privileges (at least until creators update or adapting a policy setting).

2. Use geany to edit ``$myDesktop\symbolic.txt`` and save

Expected behaviour:
Content of ``$myDesktop\target.txt`` reflecting latest edit while  ``$myDesktop\symbolic.txt`` still pointing to that file.

Observed behavior:
``$myDesktop\target.txt`` is never touched by the edit.  ``$myDesktop\symbolic.txt`` is now a regular file.

This was observed using version 1.30.1

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1533
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170705/f0663b02/attachment.html>


More information about the Github-comments mailing list