I'm trying to find the equivalent of *nix symlink on windows, and started using mklink. The issue is that, as a normal user (not admin), I can link to a folder with the "/J" option, but I cannot link to a file. I managed to do it as administrator, but I need it as standard user.
我试图在windows上找到等价的*nix符号链接,并开始使用mklink。问题是,作为一个普通的用户(不是管理员),我可以用“/J”选项链接到一个文件夹,但是我不能链接到一个文件。我以管理员的身份完成了这项工作,但我需要它作为标准用户。
Why only Administrators can create file links on Windows? Is there a workaround?
为什么只有管理员才能在Windows上创建文件链接?有解决方案吗?
1 个解决方案
#1
5
You need the SeCreateSymbolicLinkPrivilege to create a symbolic link, which I don't think users get by default.
您需要secreatesym玻利维亚克林克特权来创建一个符号链接,我认为用户在默认情况下不会获得这个链接。
-scott
斯科特
#1
5
You need the SeCreateSymbolicLinkPrivilege to create a symbolic link, which I don't think users get by default.
您需要secreatesym玻利维亚克林克特权来创建一个符号链接,我认为用户在默认情况下不会获得这个链接。
-scott
斯科特