move chmod on files from mkdir to chmod