HTML Folder Read Write Permission in UBUNTU
My solution with apache2 at ubuntu 20.04
Add username to www-data group, your server login username. eg. ubuntu, ec2user etc. for this run command:
sudo adduser username www-data
I give chmod 775 to www folder
sudo chmod -R 775 /var/www/html
thats it;