I'm developing a php application and I would like to mount /var/www to /www.
I have ran chown -hR www-data:www-data /var/www.
What I want to achieve is to be able to create new files and directories with www-data as the owner and www-data as the group using my local account without issues.
So I have decided to mount /var/www to /www using sudo mount --bind /var/www /www so that all local accounts can modify it also files and directories will be created as www-data:www-data but i can't get it to work.