diff --git a/src/ckdb.c b/src/ckdb.c index 8ff1f858..7c346af7 100644 --- a/src/ckdb.c +++ b/src/ckdb.c @@ -7886,7 +7886,7 @@ int main(int argc, char **argv) /* Ignore sigpipe */ signal(SIGPIPE, SIG_IGN); - ret = mkdir(ckp.socket_dir, 0700); + ret = mkdir(ckp.socket_dir, 0770); if (ret && errno != EEXIST) quit(1, "Failed to make directory %s", ckp.socket_dir);