new xml file should use 0644 perm mode