The code should be owned by the FTP User and Group, but then have permissions set wide enough to allow the webserver to read the files. Typically this is 644 for files and 755 for directories.
More information:
http://codex.wordpress.org/Changing_File_Permissions#Permission_Scheme_for_WordPress