Browse Source

ckdb - set socket dir create mode 770 giving group access to listener

master
kanoi 10 years ago
parent
commit
4a28e01ec6
  1. 2
      src/ckdb.c

2
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);

Loading…
Cancel
Save