Search code examples
ubuntupermissionslaravelvagrantlaravel-3

Shared folder permissions in Vagrant 1.1.5


Trying to set up a little Vagrant development environment right now using the Laravel framework and need to make my /vagrant/storage/views folder writeable, but I cannot get the permissions on the folder to change no matter what!

I have done:

sudo chmod -R 777 /vagrant/storage/views

...and still am left with rwxr-xr-x permissions on that folder afterwards. I can change permissions of files, but not folders within my /vagrant folder.

Anyone have any ideas on how to solve this? Thanks.


Solution

  • In case anyone else runs into this, the problem was that I was trying to change the permissions on the shared folder from within the virtual machine. As soon as I just changed the permissions on my host copy of the folder, it propagated through to the guest machine's copy of the folder just fine.