Hot answers tagged permissions
You're setting 644 which is group read, not write! sudo chown -R www-data:www-data /srv/www sudo chmod -R g+w /srv/www
Try gksudo nautilus and enter your password, this will run file browser application with root access so it will have all permissions.
Only top voted, non community-wiki answers of a minimum length are eligible