chown your_username:www-data /path/to/drupal -R
# chat
a
chown your_username:www-data /path/to/drupal -R