<p dir="ltr">Thankyou Brad for your very clear explanation. This nicely explains the difference between the Windows and Linux systems. </p>
<p dir="ltr">Andrew Maclean</p>
<div class="gmail_extra"><br><div class="gmail_quote">On 16 Jul 2016 2:47 am, "Ben Boeckel" <<a href="mailto:ben.boeckel@kitware.com">ben.boeckel@kitware.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="quoted-text">On Fri, Jul 15, 2016 at 13:41:34 +0000, Andras Lasso wrote:<br>
> You can create symlinks in Windows (the feature was added a 10+ years<br>
> ago):<br>
> <a href="https://technet.microsoft.com/en-us/library/cc753194(v=ws.11).aspx" rel="noreferrer" target="_blank">https://technet.microsoft.com/en-us/library/cc753194(v=ws.11).aspx</a><br>
<br>
</div>Hard links are probably more useful on Windows since (I believe), they<br>
do not require elevated privs:<br>
<br>
    <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/aa365006(v=vs.85).aspx" rel="noreferrer" target="_blank">https://msdn.microsoft.com/en-us/library/windows/desktop/aa365006(v=vs.85).aspx</a><br>
<br>
I belive symlinks require privs because there ~all Windows programs do<br>
not guard against symlink redirection attacks (usually TOCTOU). And<br>
since Windows doesn't really have atomic filesystem operations, there's<br>
~no way avoid TOCTOU.<br>
<font color="#888888"><br>
--Ben<br>
</font></blockquote></div><br></div>