chmod utility is a handy utility that helps you to determine file and directory permissions, as well as file and directory special modes on OSX, Linux and UNIX environment. Simply use the switch boxes to display correct syntax.
This is a great little helper to help you to determine that correct chmod command syntax.