I am running Ubuntu 10.04 [gnome] as was getting the same error. I followed some of the aforementioned advice and fixed the issue.

I opened my terminal and typed:

sudo chown -R user:user...