You can change the /vagrant shared folder type to use smb or rsync, they 
might be slightly "slower" but they may also honor permissions properly.

On Friday, May 15, 2015 at 3:25:36 AM UTC-5, Armen Babakanian wrote:
>
>
>
> <http://stackoverflow.com/questions/30252268/using-host-tools-to-develop-on-a-vagrant-machine#>
>  
>   
> I am using vagrant for developing my website and I would like to use local 
> machine(host) tools such as sublime, VS Code, etc.. to build the website. 
>
> This is how I setup the virtual machine. All the website related folder 
> are in the home directory, with group permission set to www-data ex:
>
> ~/_blog
> ~/_main
> ~/_django_app
>
> and in the /var/www/ folder, a symbolic link of those folder are places:
>
> /var/www/blog -> ~/_blog
> /var/www/index -> ~/_main
> /var/www/app -> ~/_django_app
>
> I cannot use the /vagrant/ folder because it doesn't have permissions so 
> If I share it and make changes there I would have to manually go and copy 
> stuff over to home directory. I placed a copy of all the folders in the 
> /vagrant/ folder and configured a 3rd party tool like incron which 
> listens for file changes and runs a command, which I setup to run rsync 
> to copy over from /vagrant/ to home directory. But when I make the 
> changes in the host, it doens't work.
>
> Is there an alternative way of doing this that works?
>
> Thanks, 
>

-- 
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.

Reply via email to