This is a discussion on Change directory for core dumps within the Linux General forums, part of the Linux Forums category; Is there a way to configure a directory to be used for core dumps? Platform is RHEL v4. [Background: I ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Is there a way to configure a directory to be used for core dumps?
Platform is RHEL v4. [Background: I have a process that does setuid() calls to a different user, and the home directory of the original user is not writable for the new user. I would like to configure some general directory (e.g. / tmp) where are core files are written.] TIA M |
|
|||
|
mark.bergman@thales-is.com wrote:
> Is there a way to configure a directory to be used for core dumps? > Platform is RHEL v4. > > [Background: I have a process that does setuid() calls to a different > user, and the home directory of the original user is not writable for > the new user. I would like to configure some general directory (e.g. / > tmp) where are core files are written.] > > TIA > M Arent core dumps written by the operating system itself? I might be wrong here, but thats the way I assumed it worked.. In which case permissions are no issue. |
|
|||
|
In comp.os.linux.misc, mark.bergman@thales-is.com wrote:
> Is there a way to configure a directory to be used for core dumps? echo "/path/to/new/core/directory/core" >/proc/sys/kernel/core_pattern [snip] -- Lew Pitcher Master Codewright & JOAT-in-training | Registered Linux User #112576 http://pitcher.digitalfreehold.ca/ | GPG public key available by request ---------- Slackware - Because I know what I'm doing. ------ |
![]() |
| Thread Tools | |
| Display Modes | |
|
|