symlink(): Cannot create symlink, error code(1314)



Creation of symbolic links requires the SeCreateSymbolicLinkPrivilege (“Create symbolic links”), which is granted only to administrators by default (but you can change that using security policy).
To change the policies:
 - Launch secpol.msc via Start or Start → Run.
 - Open Security Settings → Local Policies → User Rights Assignment.
 - In the list, find the "Create symbolic links" item, which represents SeCreateSymbolicLinkPrivilege.
 - Double-click on the item and add yourself (比如我,就是"guiyumin") to the list.
 - The changes will apply when you log out and log in again.

标签: symlink