I'd like to copy a full directory to the vagrant machine, setting ownership on the files to a particular user account with shell scripts marked as executeable.
Is there a natural way to do this? The file provisioner seems to be for single files, and does not take a parameter to set the file owner. The Synced Folder provisioner will let me set the owner, but I want the directory copied permanently without syncing. The solution that seems apparent is to tar the directory locally, using the file provisioner to copy the tar file, then run a provisioning script to extract the tar contents and set permissions. I wonder if there is an easier way though? -- 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.
