Comment

Comment by CodesInChaos

> Generally, on Unix systems the default is to generate a file named core in the current directory of the crashing process.

Sounds like a horrible default. That's a security risk (working directory might be readable by untrusted users), and pollutes a random directory with a file that could cause problems for other applications processing files in that directory.

A fixed location inside the user's home directory feels like a much better choice to me.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton