caching and other problems after migration from dev to produ

Permalink
Hello,
I moved my site from local to server but I am getting errors writing to the /files folder. One set of errors is simply it cannot write to the folder, e.g.

Cannot write to the following backup file: /home/httpd/vhosts/xxxxx/httpdocs/xxxx/files/backups/dbu_1330656654.sql

Another is it thinks it cannot write to any file:
Warning: imagejpeg() [function.imagejpeg]: Unable to open '/home/httpd/vhosts/xxxxx/httpdocs/xxx/files/cache/94da50094723bde951986ac073a1759f.jpg' for writing: Permission denied in /home/httpd/vhosts/xxxx/httpdocs/xxx/concrete/helpers/image.php on line 173


However, I've turned off caching, removed every file from the /files/cache folder and reset permissions, even 777 doesn't work. It is the correct group and user.

Thanks for any help.