vagrant 启动报错Vagrant assumes that this means the command failed!


default: Guest Additions Version: 4.2.0 
    default: VirtualBox Version: 5.0 
==> default: Mounting shared folders... 
    default: /vagrant => C:/Users/Administrator/Desktop/www 
The following SSH command responded with a non-zero exit status. 
Vagrant assumes that this means the command failed! 


 chown `id -u vagrant`:`id -g vagrant` /vagrant 

Stdout from the command: 

Stderr from the command: 

stdin: is not a tty 
chown: changing ownership of `/vagrant': Not a directory 

vagrant 报错

Erephe 10 years, 1 month ago

找不到 /vagrant 目录或者所有者不是 vagrant.vagrant 的意思吗?

自己建一个 /vagrant 空目录,然后 chown vagrant.vagrant /vagrant

yalest answered 10 years, 1 month ago

Your Answer