I did reply your other email On Fri, Feb 27, 2015 at 12:29 AM, Tommy Eriksen <[email protected]> wrote: > I made it work by doing this in the vagrant file. > > config.vm.synced_folder "html/", "/var/www/html/current", type: "rsync", > owner: "vagrant", group: "vagrant", rsync__exclude: [".git/", "var/", > "/media"], rsync__auto: "true" > > but I have one problem the owner and group do not work :( > > onsdag 25. februar 2015 22.49.03 UTC+1 skrev Alvaro Miranda Aguilera > følgende: >> >> On Thu, Feb 26, 2015 at 5:37 AM, Tommy Eriksen <[email protected]> wrote: >> > How can I keep the webroot var and media folders and use the --delete >> > parameter for all the rest of the files and folders? >> >> Hi there, >> >> https://docs.vagrantup.com/v2/synced-folders/rsync.html >> >> can you try to set parameters, without delete? >> >> rsync__args (array of strings) - A list of arguments to supply to >> rsync. By default this is["--verbose", "--archive", "--delete", "-z", >> "--copy-links"]. >> >> so in your vagrantfile, in the block for rsync add: >> >> rsync__args = ["--verbose", "--archive", "-z", "--copy-links"] >> >> if that doesn't work, try: >> >> rsync__args = ["--exclude", "name_of_symlink"] >> >> Alvaro. > > -- > 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/d/optout.
-- 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/d/optout.
