diff options
-rw-r--r-- | src/Hooks/CCpp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Hooks/CCpp.cpp b/src/Hooks/CCpp.cpp index e8c35ed..ddbebf6 100644 --- a/src/Hooks/CCpp.cpp +++ b/src/Hooks/CCpp.cpp @@ -165,7 +165,7 @@ int main(int argc, char** argv) snprintf(path + strlen(path), sizeof(path), "/%s", FILENAME_COREDUMP); - fd = open(path, O_WRONLY | O_CREAT | O_TRUNC); + fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0600); if (fd < 0) { dd.Delete(); |