Table of octal chmod values, what each one permits, and where each is normally used.
Each octal digit is the sum of read (4), write (2) and execute (1) for owner, group and other in turn. 640 therefore means the owner reads and writes, the group reads, and others get nothing.