Try using an absolute path to call up the chmod command to reset the permissions: 

/usr/bin/chmod u+rwx ~


This command will restore the read/write/execute access to your home directory.