Hi Jaco,

shouldn't it be

...
tag.vm.synced_folder "src", "/srv/src", :owner => "bot", :group => "bot", 
:mounts_options => ["dmode=770", "fmode=770"]
...

Regards,

Clifford

Am Freitag, 31. Januar 2014 17:03:39 UTC+1 schrieb Jaco du Toit:
>
>
> Can anyone please help with a problem I am experiencing with syncing 
> folders. Host is on Windows 7. Here is my vagrant file:
>
> config.vm.box = "CentOS-64-x64-vbox4210"
>     config.vm.box_url = 
> "/Users/12AX7/Documents/Vagrant/boxes/centos-64-x64-vbox4210.box"
>
>     config.vm.define :tagger do |tag|
>         tag.vm.host_name = "tag.centos.myedit.vm"
>         tag.vm.synced_folder "src", "/srv/src", owner: "bot", group: 
> "bot", :mounts_options => ["dmode=770", "fmode=770"]
>         tag.vm.synced_folder "data", "/srv/data", owner: "bot", group: 
> "bot", :mounts_options => ["dmode=770", "fmode=770"]
>         tag.vm.synced_folder ".config", "/srv/.config", owner: "bot", 
> group: "bot", :mounts_options => ["dmode=770", "fmode=770"]
>         tag.vm.network :forwarded_port, guest: 80, host: 10010
>         tag.vm.network :forwarded_port, guest: 8080, host: 10011
>         tag.vm.network :private_network, ip: "33.33.33.33"
>
>         tag.vm.provider :virtualbox do |vb|
>         # Use VBoxManage to customize the VM. For example to change memory:
>         vb.customize ["modifyvm", :id, "--memory", "2048"]
>         end
>     end
>
> This is the error:
>
> Failed to mount folders in Linux guest. This is usually beacuse
> the "vboxsf" file system is not available. Please verify that
> the guest additions are properly installed in the guest and
> can work properly. The command attempted was:
>
> mount -t vboxsf -o uid=`id -u bot`,gid=`getent group bot | cut -d: -f3` 
> /srv/src /srv/src
> mount -t vboxsf -o uid=`id -u bot`,gid=`id -g bot` /srv/src /srv/src
>
> My setup: Windows 7, Vagrant 1.4.3, centos-64-x64-vbox4210.box, VBox 4.3.6
>
> Regards
>
> J
>
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to