Resolution with Vagrant: 501 dialout

when I try to use NFS with Vagrant to synchronize folders, on my wandering I see permissions as the group number 501.

I fixed the problem by disabling NFS and specifying the user and group manually in the Vagrant file. I would use NFS though.

Here is my VagrantFile

$BOX = "ubuntu/xenial64" $IP = "10.0.0.10" $MEMORY = ENV.has_key?('VM_MEMORY') ? ENV['VM_MEMORY'] : "1024" $CPUS = ENV.has_key?('VM_CPUS') ? ENV['VM_CPUS'] : "1" Vagrant.configure("2") do |config| config.vm.hostname = "name.dev" config.vm.box = $BOX config.vm.network :private_network, ip: $IP config.ssh.forward_agent = true config.vm.synced_folder ".", "/var/www/name/current", type: "nfs" config.vm.provider "virtualbox" do |v| v.name = "name v.customize ["modifyvm", :id, "--cpuexecutioncap", "100"] v.customize ["modifyvm", :id, "--memory", $MEMORY] v.customize ["modifyvm", :id, "--cpus", $CPUS] end end 

I tried nfsbind, but it seems that this requires an absolute path, which I would prefer to avoid. Any tips?

thanks

+7
virtual-machine vagrant virtualbox vagrantfile
source share

No one has answered this question yet.

See related questions:

1727
Should I use Vagrant or Docker to create a sandbox?
411
Retrying Connection Timeout
237
Where does Vagrant upload its .box files?
170
How to change the default machine name to "default"?
4
Strollers configuration configuration
2
Tramp: port forwarding does not work (the iptables service provided by salt does not start)
one
Root user home directory when synchronizing folders with Vagrant and Ansible
one
Branded synchronization process
0
Resolving a Question in Vagrant
0
cannot access apache from the local machine, although it works on a vagrant

All Articles