From aa2ca997b919bee3cea9dfaed27e33fb0bc81728 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Sun, 8 Mar 2015 17:40:31 +0100
Subject: [PATCH] Server/C: Set same server dir mode as Python variant does.

---
 src/server/init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/server/init.c b/src/server/init.c
index f5c81d3..f44c504 100644
--- a/src/server/init.c
+++ b/src/server/init.c
@@ -166,7 +166,7 @@ extern void obey_argv(int argc, char * argv[])
 
 extern void setup_server_io()
 {
-    int test = mkdir("server", 0700);
+    int test = mkdir("server", 0777);
     exit_trouble(test && EEXIST != errno, __func__, "mkdir");
     world.file_out = try_fopen(s[S_PATH_OUT], "w", __func__);
     world.server_test = try_malloc(10 + 1 + 10 + 1 + 1, __func__);
-- 
2.30.2