I cant ls cannot access /vagrant NO such file or directory

1,475 views
Skip to first unread message

Mwaniki Nderi

unread,
Oct 7, 2015, 3:23:07 AM10/7/15
to Vagrant
I am a new to Vagrant and I do not seem to get anything started. I have spent a week trying to set it up but I am having difficulties.

I cannot access /Vagrant when I do ls /vagrant or even cd /vagrant and yet when I pwd, I get /home/vagrant

I am using git and I can successfully vagrant ssh

What could be wrong. Thanks

Alvaro Miranda Aguilera

unread,
Oct 8, 2015, 6:11:06 AM10/8/15
to vagra...@googlegroups.com
Whats you Vagrantfile?

the folder is /vagrant in the guest, if you cant access, whats the error?

can you share commands and errors ?

thanks
alvaro
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in violation
> of those guidelines may result in your removal from this mailing list.
>
> GitHub Issues: https://github.com/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to vagrant-up+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/d79bf8a9-a5e4-4441-8e23-ce337d80620b%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

dragon788

unread,
Oct 26, 2015, 2:24:21 PM10/26/15
to Vagrant
/vagrant is created inside your VM when vagrant is able to connect via ssh and the proper kernel modules are loaded to allow it to map a folder in. This requires VMware Tools or Virtualbox Extensions in order to function, so unless you changed the shared folder type to smb or nfs or rsync and have set up those binaries, you need to make sure your original box has the tools/extensions installed.
Reply all
Reply to author
Forward
0 new messages