Enable native NTFS symbolic links for Cygwin

前端 未结 5 986
长发绾君心
长发绾君心 2020-11-27 12:26

Recent NTFS and Windows implement symlinks:

  • NTFS junction point can be used as directory symlink since NTFS 3.0 (Windows 2000) using linkd or
5条回答
  •  醉酒成梦
    2020-11-27 12:34

    I guess the easiest way is to

    1. grant SeCreateSymbolicLinkPrivilege from Local Group Policy editor (gpedit.msc, on path by default, non-home versions)

    2. create script named ln on path (batch or bash), implementation similar to above described shell function

    3. profit

提交回复
热议问题