fix some file mode bug 755->644 on 1.2 branch

fix some file mode bug 755->644