Use mode=0755 when creating dirs

This commit is contained in:
Arun Prakash Jana 2019-05-27 18:55:43 +05:30
parent b767d3335c
commit 75768ad29e
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -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;
}