9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: andrey mirtchovski <mirtchov@cpsc.ucalgary.ca>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] how do I debug a program that runs a none...
Date: Thu, 18 Mar 2004 17:32:18 -0700	[thread overview]
Message-ID: <f4114a83234fd7abbc38984162fc41a8@plan9.ucalgary.ca> (raw)
In-Reply-To: <59e21c2f98e6d9c3ac4dd217dc7ffed5@borf.com>

> that runs as none on a cpu server, goes broke?
> I don't have read permissions on the /proc/<pid> files.
> Do I add myself to the group that `owns' the cpu server?
> 
>  Brantley

if it's a program started by listen you can run just the binary with
aux/listen1 as yourself (and not necessarily on the cpu server
either).

you can control other processes if you're in the owner of /proc,
before discovering aux/listen1 i used to chmod 777 /proc/<pid>/*.  not
sure if it was really successful -- been too long ago :) being just a
member of the group won't work, afaik...

andrey



  reply	other threads:[~2004-03-19  0:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-19  0:18 Brantley Coile
2004-03-19  0:32 ` andrey mirtchovski [this message]
2004-03-19  5:29 ` Geoff Collyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f4114a83234fd7abbc38984162fc41a8@plan9.ucalgary.ca \
    --to=mirtchov@cpsc.ucalgary.ca \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).