Linux - Change owner and group in a directory to include subdir and all files

Just go to your ssh client and run

chown -R someuser:somegroup public_html/

Making it accessible to drupal you would probably run

chown -R www-data:www-data files/