diff options
| author | Red <21181998+Redender64@users.noreply.github.com> | 2024-08-22 11:36:12 +0000 |
|---|---|---|
| committer | Mihai Fufezan <mihai@fufexan.net> | 2024-08-22 15:28:01 +0300 |
| commit | f634b9e61af7dae0ca70379bd207eea45bb417d1 (patch) | |
| tree | 84eff0aa676b263ed73c7b3558960cb038078007 /src/debug/CrashReporter.cpp | |
| parent | bdb296a83c595f3814f8159d2cffd25c3edfb842 (diff) | |
Fix crash reports having execute permission
Diffstat (limited to 'src/debug/CrashReporter.cpp')
| -rw-r--r-- | src/debug/CrashReporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/CrashReporter.cpp b/src/debug/CrashReporter.cpp index c31975b8..000d8c5d 100644 --- a/src/debug/CrashReporter.cpp +++ b/src/debug/CrashReporter.cpp @@ -86,7 +86,7 @@ void CrashReporter::createAndSaveCrash(int sig) { stderr.flush(); } - reportFd = open(reportPath.get_str(), O_WRONLY | O_CREAT, S_IRWXU); + reportFd = open(reportPath.get_str(), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR); if (reportFd < 0) { exit_with_error("Failed to open crash report path for writing"); } |
