To change file permissions, use Properties function
Mode 666 means that everyone has right to read and write the files. Mode 777 means that in addition to reading/writting, everyone can execute the files and enter the directories. You probably get the better idea, when you try to switch the checkboxes on Properties dialog and see how octal number representing the permissions changes. The link above points to screenshot showing mode 750.