From 07c1285b0f76751807c80cdb4098e351debed15a Mon Sep 17 00:00:00 2001 From: Stefan Kecskes Date: Wed, 24 Jun 2015 20:34:03 +0100 Subject: [PATCH] fixing permissions inside vagrant Some frameworks needs to change updated files (cached files, compiled css, ...) inside vagrant box, but they havent enough privilege to overwrite those files. This fixes the issue by giving them 777 permission. --- Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 4760410..0959404 100755 --- a/Vagrantfile +++ b/Vagrantfile @@ -10,7 +10,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.network :forwarded_port, guest: 3306, host: 3306, auto_correct: true # mysql config.vm.network :forwarded_port, guest: 9000, host: 9000, auto_correct: true # phpmyadmin config.vm.network :private_network, ip: "10.0.0.10" - config.vm.synced_folder "./", "/var/www/html" + config.vm.synced_folder "./", "/var/www/html", id: "vagrant", :nfs => false, :mount_options => ["dmode=777", "fmode=666"] config.vm.provider "virtualbox" do |vb| vb.customize ['modifyvm', :id, '--memory', '1024']