
Ich versuche, Vagrant auf dem Windows-Linux-Subsystem auszugeben, und dieser Fehler tritt auf.
/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
Ich habe bereits versucht, Vagrant zu entfernen und neu zu installieren, aber das ist nicht das Problem. Ich habe
chmod go-w /mnt/c
für jede unsichere Welt, die beschreibbar ist, aber für /mnt/c funktioniert dieser Befehl nicht. Kann mir jemand helfen?
Außerdem habe ich bereits versucht,
[automount]
options="metadata,umask=0033"
in etc/wsl.conf eine Datei, die ich erstellt habe, und sie hat nicht funktioniert. Ich kann nicht einmal Vagrant SSH ausgeben.