I had been tasked with figuring out how to have an environment that would allow multiple users to access core files. I thought: simple enough, I'll just have to mess around with the facl for the directory, specifically the "default" entry. Well, I was wrong. I had attempted: # remount filesystem and enable acl chmod 775 /u01/core chmod g+s /u01/core chgrp smsvcs /u01/core setfacl -m g::rwx,o:rwx,d:o::r-x /u01/core It turns out that the coredump function (do_coredump) creates the file 0600 int do_coredump (long signr, struct pt_regs * regs ) 919 { 920 struct linux_binfmt * binfmt; 921 char corename[6+sizeof( current -> comm )]; 922 struct file * file ; 923 struct inode * inode ; 924 925 lock_kernel (); 926 binfmt = current ->binfmt; 927 if (!binfmt || !binfmt->core_dump) 928 goto fail; 929 if (! current ->dumpable || atomic_read (& current ->...
Linux: The whole world made it for you... This blog is a collection of things I come across either at home or at work as a Linux Administrator. I have worked as an Admin working with Solaris, SAN, Backups and Linux at the Enterprise level for over 16 years.