
Windows Linux サブシステムで vagrant up を実行しようとすると、このエラーが表示されます。
/opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/lib/vagrant/util/which.rb:37: warning: Insecure world writable dir /mnt/c in PATH, mode 040777
Vagrant failed to initialize at a very early stage:
Vagrant is unable to use the VirtualBox provider from the Windows Subsystem for
Linux without access to the Windows environment. Enabling this access must be
done with caution and an understanding of the implications. For more information
on enabling Windows access and using VirtualBox from the Windows Subsystem for
Linux, please refer to the Vagrant documentation:
https://www.vagrantup.com/docs/other/wsl.html
すでにVagrantを削除して再インストールしてみましたが、問題は解決しませんでした。
chmod go-w /mnt/c
すべての安全でないワールドに対して書き込み可能ですが、/mnt/c に対してはこのコマンドは機能しません。誰か助けてくれませんか?
また、私はすでに試してみました
[automount]
options="metadata,umask=0033"
etc/wsl.conf に私が作成したファイルがあり、動作しませんでした。vagrant ssh を発行することすらできません。