4 read 2 write 1 execute
User Group Others.
These are the values for Chmod. Remember to Add up the values. The first digit is for User, second Group, third others. eg. 722 gives owner all, and everyone else write (but no read) rights.