How do I overcome the “The symbolic link cannot be followed because its type is disabled.” error when getting the target of a symbolic link?

后端 未结 8 1875
不思量自难忘°
不思量自难忘° 2020-12-04 08:16

Following on from a previous question, I am creating a symbolic link on a Server 2008 from a Vista machine using UNC paths. I can create the link just fine. I can go to the

8条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-04 08:31

    Well I found the answer, though to describe it as badly documented is an understatement!

    First of all, this TechEd article highlights the fact that users can "enable or disable any of the four evaluations that are available in symbolic links". Those four "evaluations" include remote to local and local to remote. It doesn't give any clue as to how to do this.

    However a further search revealed this fsutil help page, which does actually document how to "enable or disable any of the four evaluations that are available in symbolic links". So to fix the problem I was having, I need to issue the following command on the Vista box:

    fsutil behavior set SymlinkEvaluation L2L:1 R2R:1 L2R:1 R2L:1
    

    in order to allow full access to where symlinks are pointing on both local and remote machines.

提交回复
热议问题