laravel - phpspec in vagrant vm - permissions error -
i setting new laravel project , wishing use phpspec within project.
i can run phpspec local osx machine, want able run within vm. "command not found" or "permission denied" errors when running within vagrant vm (ubuntu 12 currently). seems because files not executable in vm, , chmod +x makes no difference.
i have following in vagrantfile:
config.vm.synced_folder "./" , "/var/www/" + project_name + "/", :mount_options => ["dmode=777", "fmode=666"]
this partly can give vm colleagues once set up, without them having set things locally. feels better run dev related tasks vm. opinions may differ on this..
any appreciated. thank in advance!
i solved changing line in vagrantfile to:
config.vm.synced_folder "./" , "/var/www/" + project_name + "/", :nfs => true
':nfs => true' being important bit
Comments
Post a Comment