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.
