It appears that ulimit -c 0 does not work on macOS Big Sur (11.5.1)
$ source mo.rc (master)
coredumps disabled by ulimit
=========== Info ===========
...
============================
=== Welcome to mOrc Shell ===
Run gethelp to see a list of commands.
/Users/mikey should be deleted upon exit.
mikey ~/Documents/Projects/mOrc $ ulimit (master)
unlimited
mikey ~/Documents/Projects/mOrc $
There is also the limit command (limit core 0) which can be used to limit the size of core dumps.
It appears that
ulimit -c 0
does not work on macOS Big Sur (11.5.1
)There is also the
limit
command (limit core 0
) which can be used to limit the size of core dumps.Core dumps used to be written to
/cores
. However on macOS Big Sure the user doesn't have write permission for/core
by default.It appears that the modern location for core dumps are:
/Library/Logs/DiagnosticReports
(System wide)~/Library/Logs/DiagnosticReports
(User)