Fixed chmod error.