Results 1 to 5 of 5
As you know, while my programme core dump, it will creat a file which name is core*, I can set the path and name by /proc/sys/kernel/core_pattern and /proc/sys/kernel/core_user_pid. but the ...
- 10-21-2009 #1Just Joined!
- Join Date
- Oct 2009
- Posts
- 6
A problem about core_dump on ubuntu 9.04
As you know, while my programme core dump, it will creat a file which name is core*, I can set the path and name by /proc/sys/kernel/core_pattern and /proc/sys/kernel/core_user_pid. but the core file's permission is -rw-------, how can I make the core file's permisson is -rw-r--r-- when core file be created?
Thanks all.
My english is not very well.......
- 10-22-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,961
The core file should belong to the user that ran the program that dumped. As root, or that user, you can change permissions just like any file.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 10-23-2009 #3Just Joined!
- Join Date
- Oct 2009
- Posts
- 6
- 10-23-2009 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,961
I'm not sure you can change the default. Why? Is it a problem?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 11-10-2009 #5Just Joined!
- Join Date
- Oct 2009
- Posts
- 6


Reply With Quote

