updated for version 7.0162
diff --git a/src/fileio.c b/src/fileio.c
index 302e93a..eaa2bd1 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -5800,7 +5800,9 @@
 	errmsg = _("E210: Error reading \"%s\"");
 	to = from;
     }
+#ifndef UNIX	    /* for Unix mch_open() already set ther permission */
     mch_setperm(to, perm);
+#endif
 #ifdef HAVE_ACL
     mch_set_acl(to, acl);
 #endif