diff --git a/src/runtime/runtime.c b/src/runtime/runtime.c index 2ebb3c8..a073f60 100644 --- a/src/runtime/runtime.c +++ b/src/runtime/runtime.c @@ -645,7 +645,7 @@ mkdir_p(const char* const path) { /* Temporarily truncate */ *p = '\0'; - if (mkdir(_path, 0755) != 0) { + if (mkdir(_path, 0700) != 0) { if (errno != EEXIST) return -1; } @@ -654,7 +654,7 @@ mkdir_p(const char* const path) { } } - if (mkdir(_path, 0755) != 0) { + if (mkdir(_path, 0700) != 0) { if (errno != EEXIST) return -1; }