Blob Blame History Raw
--- hof.c~	2007-08-16 14:54:14.000000000 -0500
+++ hof.c	2007-08-16 14:54:14.000000000 -0500
@@ -61,7 +61,7 @@
     fd=open("/var/games/bombardier/bdscore", O_RDWR);
     if (fd<0)
     {
-	fd=open("/var/games/bombardier/bdscore", O_RDWR | O_CREAT);
+	fd=open("/var/games/bombardier/bdscore", O_RDWR | O_CREAT, 0644);
 	fchmod(fd, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH);
 	if (fd>0)
 	{