chmod sets the permissions on a folder.
This wiki article explains what they mean:
http://en.wikipedia.org/wiki/Chmod
chmod 777 means : change the permissions of the file / folder to read, write, and execute for all.
What are you going to be using the set the permissions (FTP Client, SSH)?