From 4a28e01ec6b58b11612ea72fb8ccdce977648e96 Mon Sep 17 00:00:00 2001 From: kanoi Date: Sat, 9 Aug 2014 00:41:30 +1000 Subject: [PATCH] ckdb - set socket dir create mode 770 giving group access to listener --- src/ckdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);