aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRed <[email protected]>2024-08-22 11:36:12 +0000
committerMihai Fufezan <[email protected]>2024-08-22 15:28:01 +0300
commitf634b9e61af7dae0ca70379bd207eea45bb417d1 (patch)
tree84eff0aa676b263ed73c7b3558960cb038078007
parentbdb296a83c595f3814f8159d2cffd25c3edfb842 (diff)
downloadHyprland-f634b9e61af7dae0ca70379bd207eea45bb417d1.tar.gz
Hyprland-f634b9e61af7dae0ca70379bd207eea45bb417d1.zip
Fix crash reports having execute permission
-rw-r--r--src/debug/CrashReporter.cpp2
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");
}