3

It seems strange that I need to be root in order to say "place cores in my current directory" (via cat whatever /proc/sys/kernel/core_pattern). Isn't there any user-specific override for this?

1

On my node:

 ll /proc/sys/kernel/core_pattern 
-rw-r--r-- 1 root root 0 Mar  1 21:32 /proc/sys/kernel/core_pattern

It is only writable by root.

Also

chmod 666 /proc/sys/kernel/core_pattern 
chmod: changing permissions of `/proc/sys/kernel/core_pattern': Operation not permitted

So I think you may not be able to override it.

  • Winston I was hoping there was a workaround not involving you having to write there directly. – einpoklum Mar 1 '16 at 10:41
0

Here (Fedora 23) it is hooked up to pipe the core file to report crashes automatically via abrt. Mangle at your own risk.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.