Re:Ln – NTFS hard/symbolic link command line tool
by ygra on Tuesday December 06, 2016 @02:42AM
(#13112903)
Hard links and directory junctions (the sort of directory symlinks that existed before Vista) never required administrative privileges.
[ Parent
| on HN ]
Re:Ln – NTFS hard/symbolic link command line tool
by tiraniddo on Tuesday December 06, 2016 @05:53AM
(#13113686)
Well at least with hard links that's not strictly true. Using official win32 apis you need write permission on the file you're linking to so you can't link to say a system file as a non admin. Try mklink with the /H switch.
Of course that's a bit of a lie, if you use the NtSetInformationFile api you don't need write access :-)
Re:Ln – NTFS hard/symbolic link command line tool
by jaclaz on Tuesday December 06, 2016 @11:15AM
(#13115705)
To repeat myself:
https://news.ycombinator.com/item?id=13095172