Support for hardlinks in Windows XP?
Rajendra.Gutupalli at Sun.COM
Tue Jul 15 00:39:49 PDT 2008
Alan Bateman wrote:
> BTW: If you are testing with hard links then do you mind checking this
> method on Vista 64-bit or Windows Server 2008 64-bit. In particular,
> the case where the user doesn't have sufficient rights. It should
> throw an I/O exception indicating that the user doesn't sufficient
> rights. I've noticed on at least two machines that it fails silently
> which suggests this is a bug we need to forward to Microsoft (32-bit
> is okay).
Alan, I tried in Windows Vista 64 bit machine. Yes I observed
Path#createSymbolicLink() returns silently. Here is the result that I got.
C:\Users\administrator1\Downloads>mklink abc xyz
You do not have sufficient privilege to perform this operation.
C:\Users\administrator1\Downloads> (immediately this command prompt came
without any exception.)
I don't see any problem in creating a hard link in 64 machine.
More information about the nio-dev