ln does not link write protected files
Brought to you by:
syring
When trying to create a link on an write protected file ln.exe says that there is no such file or directory.
G:\>ln.exe g:\test.txt g:\link.txt
ln.exe: cannot create link `g:\link.txt´ to `g:\test.txt´: No such file or directory
fsutil ("fsutil hardlink create g:\link.txt g:\test.txt" (switched order of parameters!!!)) does but requires admin-rights to do its job.
Not sure whether this is a bug or by design or required by ntfs (obviously not as fsutil can do this) but it would be really cool if it would be possible.
Thanks sc911 @ gmx.de