0
我需要在我的ubuntu/xenial64
框中將權限和所有權設置爲/vagrant
,並且我發現了Vagrant文件中配置選項的幾個優秀解決方案。然而,我的問題是這個 - 我找不到答案: 我的默認流浪文件(Vagrant 1.9.5)沒有任何配置同步文件夾。然而,項目目錄在客人中同步到/vagrant
。這很好。Vagrant 1.9.5:設置默認同步文件夾的權限
但是,如果我添加任何配置的流浪文件,例如像:
config.vm.synced_folder ".", "/vagrant",
mount_options: ["dmode=755, fmode=644"]
我得到vagrant up
一個錯誤,基本上告訴我客戶添置沒有包裝盒上的安裝。因此,顯然流浪者將我的指令解釋爲指向其他已同步的文件夾,而我並不需要這些文件夾。
Vagrant was unable to mount VirtualBox shared folders. This is usually
because the filesystem "vboxsf" is not available. This filesystem is
made available via the VirtualBox Guest Additions and kernel module.
Please verify that these guest additions are properly installed in the
guest...
基本上我不明白在哪裏可以設置默認同步文件夾的選項?