fix misc/chmod. This is the last commit to that file.