Fix chmod mode for config commit