WordPress Permission Problems on Ubuntu 12.04 with LAMP stack

I believe the “lamp-server” package in Ubuntu fails to install mod-suphp, which would likely solve most of your permission problems.

Try installing the libapache2-mod-suphp package. And undo everything you did with the permissions. The WordPress install should not be owned by the apache user, it should be owned by the real user.