I have set up an Ubuntu 15.04 as a Virtual Machine with Oracle VirtualBox. I am running a LAMP server stack on that machine.
As I want to develop on my host machine, I mounted a local folder on my host machine into the VM, which is /media/myfolder
. And I have created a symlink from /var/www/html
to that folder.
I get 403 Forbidden
errors when I try to modify the permissions of folders or files, but any sudo chmod 644 index.php
doesn't do anything (no error message either).
File permissions are
For
/var/www/html
lrwxrwxrwx root root myfolder -> /media/myfolder
For files in
/var/www/html
, e.g.index.php
-rwxrwx--- root vboxsf index.php
Any idea how I can manage to access this proxy-alike workaround?