--- src/arch/net/charmrun/charmrun.c.orig 2009-05-30 10:37:32.676819167 -0500 +++ src/arch/net/charmrun/charmrun.c 2009-05-30 10:38:08.835027500 -0500 @@ -1291,7 +1291,7 @@ char *tmp=tmpnam(NULL);/*This was once /tmp/fnord*/ #endif unlink(tmp); - fd = open(tmp,O_RDWR | O_CREAT | O_TRUNC); + fd = open(tmp,O_RDWR | O_CREAT | O_TRUNC, 0666); if (fd<0) { fprintf(stderr,"cannot open temp file /tmp/fnord"); exit(1);