Nick Jennings <nick@...> writes: > > Nor can I set the core dump pattern:# echo "/tmp/core-%e-%s-%u-%g-%p-%t" > /proc/sys/kernel/core_pattern > > bash: echo: write error: Operation not permitted > > (running as root)
What distro/kernel?
Did you check that you can see the value:
cat /proc/sys/kernel/core_pattern
abrt and systemd can "hijack" core saving systemd saves it in a "journal"
and abrt in /var/cache/core or /var/spool/core
There are other gotchas for cores depending on your env.

