Modes work like this:
You have 3 classes of people:
u = user
g = group
o = others
if you see:
drwxrwxrwx
then everyone has all permissions.
if you see:
drwxrwx--x
then the user and his group have all permissions, and the world only has execute permissions.
the d signifies a directory, r=read, w=write, x=execute
The first 3 blocks are for the user (owner), the second 3 blocks are for the user's group, and the final 3 blocks are for the whole world.
See info chmod for more.
Best wishes,
James