Taking a quick look at this tells me you're uploading into the /home/haolh/trail/occ/src/ directory, but are only changing permissions for /home/haolh. To recursively change the permissions of a directory (which means include all subdirectories), use the -R (capitalized!) flag with chmod, chown and chgrp.
EDIT: You also might want to use chmod haolh:haolh, because chmod root:haolh makes the folder part of your group, but root owner. While using chmod 770 gives your group (and you thereby) rwx permissions, it's an uncommon way of doing things, especially in your own home directory.
Last edited by ZenKen; 03-21-2011 at 02:39 AM.