This should be chmodSync .. just incase somehow the user generates changelog and commits really fast with a script before the chmod completes :-)