New install permisions error

I am trying to install 2.5 on a stand alone ubuntu computer and I can setup the lamp server and get up to changing the permisions flags with this:

editor@editor-OptiPlex-780:/var/www$ sudo find . -type f | xargs sudo chmod 664
[sudo] password for editor:
sudo: unable to execute /bin/chmod: Argument list too long

not sure where to go from there