From 96fbfa56bf0a426676ae5f930c0f62f861f315d5 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Wed, 18 Jun 2014 23:12:30 +1000 Subject: [PATCH] Make new logdirs mod 750 --- src/stratifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index d7ac1a01..5327963f 100644 --- a/src/stratifier.c +++ b/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); }