[Mit-cadr-cvs] r328 - trunk/emulator/chaos

ggilley at common-lisp.net ggilley at common-lisp.net
Mon Nov 19 06:16:14 UTC 2012


Author: ggilley
Date: Sun Nov 18 22:16:14 2012
New Revision: 328

Log:
missing perms on open create

Modified:
   trunk/emulator/chaos/chaosd.c

Modified: trunk/emulator/chaos/chaosd.c
==============================================================================
--- trunk/emulator/chaos/chaosd.c	Sun Nov 18 22:08:09 2012	(r327)
+++ trunk/emulator/chaos/chaosd.c	Sun Nov 18 22:16:14 2012	(r328)
@@ -288,7 +288,7 @@
 	open("/dev/null", O_WRONLY);
     else {
 	unlink("server.log");
-	open("server.log", O_WRONLY | O_CREAT);
+	open("server.log", O_WRONLY | O_CREAT, 0666);
     }
 
     execl("./server", "server", (char *)0);




More information about the mit-cadr-cvs mailing list