我試圖將Vagrant的sync_type
設置爲smb
,但在更改配置後運行vagrant up
時失敗。Windows 10上的無法接入的虛擬機virtualbox忽略管理權限
我收到以下錯誤:
SMB shared folders require running Vagrant with administrative privileges. This is a limitation of Windows, since creating new network shares requires admin privileges. Please try again in a console with proper permissions or use another synced folder type.
我在管理員模式下啓動這兩個VirtualBox的(圖形用戶界面)和Cygwin,但錯誤依然存在。使用Git Bash,Powershell或者CMD代替Cygwin並沒有修復它。以管理員身份重新安裝VirtualBox並沒有改變任何東西。
我正在運行VirtualBox 5.0.24 r108355,Vagrant 1.8.4和Windows 10 Pro,版本10586.420。
我怎樣才能讓流浪漢識別並使用管理員權限?
UPDATE 我發現我能夠從VirtualBox的GUI(開始作爲管理員)啓動機器,這表明通過使用Cygwin的VirtualBox的界面可能無法在管理員模式下運行。但是,我目前無法通過Cygwin連接到本機。
UPDATE 2 以普通用戶身份運行VirtualBox GUI也允許我引導機器。