aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/nnn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 9732c0f..9ebfebf 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2538,7 +2538,7 @@ static bool create_dir(const char *path)
if (errno != ENOENT)
return FALSE;
- if (mkdir(path, 0777) == -1)
+ if (mkdir(path, 0755) == -1)
return FALSE;
}