From: Christian Heller Date: Sun, 8 Mar 2015 16:40:31 +0000 (+0100) Subject: Server/C: Set same server dir mode as Python variant does. X-Git-Tag: tce~358 X-Git-Url: https://plomlompom.com/repos/?a=commitdiff_plain;h=aa2ca997b919bee3cea9dfaed27e33fb0bc81728;p=plomrogue Server/C: Set same server dir mode as Python variant does. --- 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__);