The process I'm running sometimes generates core file, and that file has following file permissions:
server:~ # ls -l /mnt/process/core/core_segfault
-rw------- 1 root root 245760 Dec 2 11:29 /mnt/process/core/core_segfault
The issue is that only root user can open it for investigation, while I'd like everyone with access to it to be able to read it without me always setting permissions manually.
How could I set default permissions to something like -rw-rw-rw-?