mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-17 07:45:58 +01:00
Fix crash reports having execute permission
This commit is contained in:
parent
bdb296a83c
commit
f634b9e61a
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ void CrashReporter::createAndSaveCrash(int sig) {
|
||||||
stderr.flush();
|
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) {
|
if (reportFd < 0) {
|
||||||
exit_with_error("Failed to open crash report path for writing");
|
exit_with_error("Failed to open crash report path for writing");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue