2015年9月28日 星期一

[電腦]Windows 7 連結(symbolic link)遇到的權限問題

以下做個私人備份

之前某次建立連結的時候遇到以下問題

"The symbolic link cannot be followed because its type is disabled"

後來在這個網頁找到資料解決
http://blogs.msdn.com/b/junfeng/archive/2012/05/07/the-symbolic-link-cannot-be-followed-because-its-type-is-disabled.aspx

以下為全文轉載:
When access a symbolic link on a file server, sometimes you may see the following error:

"The symbolic link cannot be followed because its type is disabled"

This is because by default remote to remote symbolic links are disabled. You can enable it with fsutil.

C:\Windows\system32>fsutil behavior query SymlinkEvaluation

Local to local symbolic links are enabled.
Local to remote symbolic links are enabled.
Remote to local symbolic links are disabled.
Remote to remote symbolic links are disabled.

C:\Windows\system32>fsutil behavior set SymlinkEvaluation R2R:1

C:\Windows\system32>fsutil behavior query SymlinkEvaluation

Local to local symbolic links are enabled.
Local to remote symbolic links are enabled.
Remote to local symbolic links are disabled.
Remote to remote symbolic links are enabled.

Be sure to run fsutil from elevated command prompt.

沒有留言:

張貼留言

Related Posts with Thumbnails