projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Create directories with permission 0777.
[collectd.git]
/
src
/
common.c
diff --git
a/src/common.c
b/src/common.c
index
c5bd647
..
3bab7a5
100644
(file)
--- a/
src/common.c
+++ b/
src/common.c
@@
-547,7
+547,7
@@
int check_create_dir (const char *file_orig)
{
if (errno == ENOENT)
{
- if (mkdir (dir,
0755
) == 0)
+ if (mkdir (dir,
S_IRWXU | S_IRWXG | S_IRWXO
) == 0)
break;
/* this might happen, if a different thread created