creat file change the permission by umask function