diff --git a/src/diskstore.c b/src/diskstore.c index 3904310d3..abaecb6b1 100644 --- a/src/diskstore.c +++ b/src/diskstore.c @@ -97,7 +97,7 @@ int dsOpen(void) { /* New disk store, create the directory structure now, as creating * them in a lazy way is not a good idea, after very few insertions * we'll need most of the 65536 directories anyway. */ - if (mkdir(path) == -1) { + if (mkdir(path,0644) == -1) { redisLog(REDIS_WARNING,"Disk store init failed creating dir %s: %s", path, strerror(errno)); return REDIS_ERR; diff --git a/src/version.h b/src/version.h index ff8473e78..3913b007a 100644 --- a/src/version.h +++ b/src/version.h @@ -1 +1 @@ -#define REDIS_VERSION "2.1.8" +#define REDIS_VERSION "2.3.0"