Virtualbox Ubuntu 18.04 permission issue to symlinked share host folder

Solution 1:

Do not forget your shared folder is not really a linux filesystem, only looks a bit like it. Copy everything from the share to a real linux filesystem, and try again.

Don't change the properties of the link

sudo chown -R www-data:www-data /var/www/html

Change the properties of the origin

sudo chown -R www-data:www-data /media/sf_Wordpress