discuzq Virtualbox 虚拟机 在共享文件夹设置软链接 in 报错 Protocol error问题

cd C:Program FilesOracleVirtualBox //安装目录

VBoxManage.exe setextradata centos VBoxInternal2/SharedFoldersEnableSymlinksCreate/wwwroot 1 //centos 虚拟机名称 wwwroot 共享文件夹名称

VBoxManage getextradata centos enumerate //测试结果类似下面侧成功

Key: GUI/LastCloseAction, Value: Shutdown

Key: GUI/LastNormalWindowPosition, Value: 539,208,800,651

Key: VBoxInternal2/SharedFoldersEnableSymlinksCreate/wwwroot, Value: 1

最后一步

以管理员身份重启虚拟机

原文地址:https://www.cnblogs.com/lgms2008/p/15021353.html