macOS CrashReporter could not save file

I run my app on a brand new account on my Mac. The app crashes. The crashreport doesn't show up. In the console I find:


File creation failed AppName_Timestamp.crash - uid: 502 gid: 20, euid: 502 egid: 20 - error 13: Permission denied

and

Failed to save crash report for AppName[22842] to AppName_Timestamp.crash.


I couldn't find any information (maybe the wrong keywords) on the internet about this issue. The app is signed with Developer ID and notarized by Apple. Why does it deny permission to save a crash report in its own container?

macOS CrashReporter could not save file
 
 
Q