fix chmod error message
Merge pull request #388 from cgzones/fix_chmod_macro

fix chmod error message