Index: trunk/src/sh_suidchk.c
===================================================================
--- trunk/src/sh_suidchk.c	(revision 165)
+++ trunk/src/sh_suidchk.c	(revision 166)
@@ -526,5 +526,5 @@
 	  readFile  = open (fullpath, O_RDONLY);
 	  if (readFile != -1)
-	    writeFile = open (filetmp, O_WRONLY|O_CREAT, 0700);
+	    writeFile = open (filetmp, O_WRONLY|O_CREAT, S_IRUSR|S_IWUSR|S_IXUSR);
 	  
 	  if ((readFile == -1) || (writeFile == -1))
