From: Arun Prakash Jana Date: Mon, 27 May 2019 13:25:43 +0000 (+0530) Subject: Use mode=0755 when creating dirs X-Git-Tag: v2.5~1 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=75768ad29ec1a17eafd1a3c80a661952b1e838a4;p=nnn.git Use mode=0755 when creating dirs --- diff --git a/src/nnn.c b/src/nnn.c index 9732c0f4..9ebfebf8 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; }