mirror of
https://github.com/jarun/nnn.git
synced 2025-04-19 03:45:01 +00:00
Use mode=0755 when creating dirs
This commit is contained in:
parent
b767d3335c
commit
75768ad29e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue