12 lines
238 B
Diff
12 lines
238 B
Diff
|
--- a/core/utils.c
|
||
|
+++ b/core/utils.c
|
||
|
@@ -3514,7 +3514,7 @@
|
||
|
tmpdir = "/tmp";
|
||
|
}
|
||
|
#ifdef O_TMPFILE
|
||
|
- fd = open(tmpdir, O_TMPFILE | O_RDWR);
|
||
|
+ fd = open(tmpdir, O_TMPFILE | O_RDWR, S_IRUSR | S_IWUSR);
|
||
|
if (fd >= 0) {
|
||
|
return fd;
|
||
|
}
|