Add chmod mode to config commit