Update chmod command, test, and documentation