'''NOTE:''' [http://www.webune.com/an-example-code-script-of-javascript-linux-permission-chart-table-chmod-s81.html Linux Permission Chart Table] calculates based on user input.
Another good link on the basics of [http://www.ahinc.com/linux101/permission.htm linux permissions].