Added :owner => root to mount options

This commit is contained in:
Francisco A. Lozano 2013-08-01 14:46:03 +02:00
parent 16002d03c0
commit 521a5c5829
1 changed files with 2 additions and 2 deletions

View File

@ -29,14 +29,14 @@ module VagrantPlugins
# Share the manifests directory with the guest
root_config.vm.synced_folder(
@expanded_manifests_path, manifests_guest_path)
@expanded_manifests_path, manifests_guest_path, { :owner => 'root' } )
# Share the module paths
count = 0
@module_paths.each do |from, to|
# Sorry for the cryptic key here, but VirtualBox has a strange limit on
# maximum size for it and its something small (around 10)
root_config.vm.synced_folder(from, to)
root_config.vm.synced_folder(from, to, { :owner => 'root' } )
count += 1
end
end