3/06/2020

Bazel build cannot create symbolic link in VirtualBox shared folder

cannot create symbolic link bazel-bin -> /home/liangzou/.cache/bazel/_bazel_liangzou/766790ddbe8cf965fa78098dbd133c63/execroot/__main__/bazel-out/k8-opt/bin: /home/liangzou/gitreview/deepmap/bazel-bin (Protocol error)

cannot create symbolic link bazel-bin -> /home/liangzou/.cache/bazel/_bazel_liangzou/766790ddbe8cf965fa78098dbd133c63/execroot/__main__/bazel-out/k8-opt/bin: /home/liangzou/gitreview/deepmap/bazel-bin (Operation not permitted)


  1. Run the VBoxManage.exe command: for example D:\Programs\Oracle\VirtualBox>VBoxManage.exe setextradata VBoxInternal2/SharedFoldersEnableSymlinksCreate/ 1
  2. Restart the VirtualBox with Administrator privilege. You can right click on the Oracle VM VirtualBox, choose 'Run this program as an administrator' in the Compatibility tab.

No comments: