There is nothing wrong with typing 777. As a matter of fact I double check with my solaris book (from the sa-100 book printed by sun) and their examples use 3 digits. There is no need to
use the forth digit since i am not looking for anything with
a sticky bit (1 in front of the permissions), setuid (4) and/or setgid (2). So if it works, it's fine. May not be proper but it is correct and not poor.
Second, although I assumed that he had a typo (also had one while he opened this thread), I just wanted to show him (not you) another way to do so. I did not say you were wrong, so don't get defensive
Don't forget that he was asking for help
and this is not a forum where we are not allowed to express