Skip to content

Commit 2e4f8a4

Browse files
committed
linux, create directory with proper permissions.
1 parent a97cdf1 commit 2e4f8a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

directory.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ int directory_create(char *path)
115115
/*
116116
* Create directory for read and write.
117117
*/
118-
if (mkdir(path, 0666) == 0)
118+
if (mkdir(path, 0770) == 0)
119119
return 1;
120120

121121
return 0;

0 commit comments

Comments
 (0)