aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.c
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-05-27 18:55:43 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-05-27 20:16:55 +0530
commit75768ad29ec1a17eafd1a3c80a661952b1e838a4 (patch)
treec84a0be458f1b96a38c6aa9d5a0031f63c6ca259 /src/nnn.c
parentb767d3335c8a624867dcd69bf41c3e522608c0d8 (diff)
downloadnnn-75768ad29ec1a17eafd1a3c80a661952b1e838a4.tar.gz
Use mode=0755 when creating dirs
Diffstat (limited to 'src/nnn.c')
-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;
}