Browse Source

Make new logdirs mod 750

master
Con Kolivas 11 years ago
parent
commit
96fbfa56bf
  1. 2
      src/stratifier.c

2
src/stratifier.c

@ -482,7 +482,7 @@ static void add_base(ckpool_t *ckp, workbase_t *wb, bool *new_block)
}
if (*new_block) {
sprintf(wb->logdir, "%s%08x/", ckp->logdir, wb->height);
ret = mkdir(wb->logdir, 0700);
ret = mkdir(wb->logdir, 0750);
if (unlikely(ret && errno != EEXIST))
quit(1, "Failed to create log directory %s", wb->logdir);
}

Loading…
Cancel
Save