Add current user as the owner of a folder to give write permissions
Run the following commands:
sudo chmod -R 757 /var/wwwsudo chown -R $USER:$USER /var/wwwReplace with your own folder
Run the following commands:
sudo chmod -R 757 /var/wwwsudo chown -R $USER:$USER /var/wwwReplace with your own folder