2
These folders and all files in them:
xoopsroot/cache
xoopsroot/templates_c
xoopsroot/uploads
should be CHMOD 777 (or any other way, which is writable by the server - you may not need 777, but often it's the case... depends on how the webserver user is setup)
mainfile.php CHMOD 444 (when the information in it is correct)
Rest should be readable, but not writable