Thanks, Alvaro. I'm still having problems, though:

Here's my latest attempt:
https://gist.github.com/jamiejackson/ddbb4845e13a9a49d9db

That just results in:

$ vagrant ssh -- ls -al
/var/www/vmhost/apps/hudexchange/cfml/deployment_root/wwwroot
total 280
drwxr-xr-x 23 vagrant vagrant  4096 Oct  7 16:49 .
drwxr-xr-x 15 vagrant vagrant  4096 Oct  6 17:58 ..
-rwxr-xr-x  1 vagrant vagrant 11455 Aug  6 03:42 404.htm

Does anyone spot a problem with my Vagrantfile?

I also upgraded to rsync 3.1.1 on the guest, just in case, but no
difference in the end result.

One more thing: The docs
<https://docs.vagrantup.com/v2/synced-folders/rsync.html> are confusing,
because the rsync__rsync_path option is mentioned, but the example goes on
to use a "--rsync-path='sudo rsync'" rsync__args member. I'm not sure which
way to go.

Thanks,
Jamie

On Thu, Oct 8, 2015 at 6:07 AM, Alvaro Miranda Aguilera <[email protected]>
wrote:

> hello
>
> have you seen the end of this page?
>
> If required to copy to a destination where vagrant user doesn't have
> permissions, use "--rsync-path='sudo rsync'" to run rsync with sudo on
> the guest
>
>
> Can you try with that?
>
> rsync otherwise will run as vagrant, and that permission issue looks
> as non-root user problem.
>
> if that doesnt work. rsync will be run before the provision scripts,
> so you could use a shell script to fix permissions. but i think the
> sudo rsync should do the trick
>
> alvaro
>
> On Wed, Oct 7, 2015 at 10:16 AM, Jamie Jackson <[email protected]>
> wrote:
> > Hi Folks,
> >
> > Since I can't get nfs to work on one of two Mac OS X El Capitan hosts(
> > https://github.com/mitchellh/vagrant/issues/6360 ) , I've been trying
> shared
> > folders with rsync today.
> >
> > However, I can't seem to do anything with the permissions in the
> destination
> > directory of the guest with rsync. (Well I can change ownership from
> vagrant
> > to root by doing "rsync__chown: false", but I can't do anything else.)
> >
> > I'd like to just change everything to 777 in the host and call it a day,
> but
> > I haven't been able to. Here's one of many attempts:
> > https://gist.github.com/jamiejackson/aec579378916d6da683d
> >
> > Please point me in the right direction.
> >
> > Thanks,
> > Jamie
> >
> >
> > --
> > 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 [email protected].
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/vagrant-up/CA%2BonWPdQDdMCB%3DHMSmaAECvNFibYoGyvofYXM%3Dq4HzRegH3%2B0w%40mail.gmail.com
> .
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/CAHqq0ezuBuHizpL%3DQn7zt_hOaD7qxPRw9D%2BYjnVQ31qZeQYECg%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CA%2BonWPewvEAqw-j%3DTRWZMZZJPHgbaSz5QCFWq%3D9jA9kN7PZ0oQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to