-rwxr-xr-x on php/js/images isn't 644, but 755, And the question is where this comes from? I had to issue the following command to make sure none of the files have exec permissions:
# find /var/www/html/osclass/ -name "*" -executable -type f -exec chmod -x {} \;
But when (probably) I used the Market to download/remove plugins, again the execs appeared. So that's why I'm asking. So far I stopped using the Market altogether, and it looks like the exec permissions didn't come back. Or maybe some other functionality of Osclass adds the execs for themes/plugins files?