That would be 476. A good way to remember is that read has the value of 4, write has the value of 2, and execute has the value of 1.
Also, the first number is dedicated to owner, the second number to group, and the third one to other.
owner group other
Read 4 4 4
Write 2 2 2
Execute 1 1 1
You add the numbers together, when there are more privileges. So r-x would be 5, because 4+1 is logically 5
Also, the letter before the rwxrwxrwx, sometimes displayed as -, is the file type. When you see something like drwxrw-r--; the D means directory. Notice that when listing with
ls -l, all the directories have the d on start of their permission string, and all files have a -.
Apart from d, and dash (-), there is also s for sockets, l for symlinks, c and b for device files, D (capital) for doors, p for named pipe.
Don't worry much about Doors, as they are currently only implemented in the Solaris OS.