Hi all,
I am trying to attach dbx to a running process.
When I issue the command -
$ dbx process_name process_pid
I get -
Cannot attach to process 2333 -- Permission denied.
What could be the reason for the error?
Thanks and regards,
SK
|
|
0
|
|
|
|
Reply
|
sk_ind12
|
1/14/2004 5:28:33 AM |
|
In article <83dee709.0401132128.22111a82@posting.google.com>,
sk_ind12@rediffmail.com (SK) wrote:
> Hi all,
>
> I am trying to attach dbx to a running process.
> When I issue the command -
> $ dbx process_name process_pid
> I get -
> Cannot attach to process 2333 -- Permission denied.
>
> What could be the reason for the error?
Unless you're the superuser, you can only attach to a process running
under your UID. So either the process was started by another user, or
it's running setuid to another user.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
|
|
0
|
|
|
|
Reply
|
Barry
|
1/14/2004 6:00:45 AM
|
|