9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@cse.psu.edu, erik quanstrom <quanstro@quanstro.net>,
	Russ Cox <rsc@swtch.com>
Subject: Re: [9fans] p9p plumber
Date: Sat,  4 Mar 2006 16:34:36 -0600	[thread overview]
Message-ID: <20060304223436.0C76110C6B@dexter-peak.quanstro.net> (raw)
In-Reply-To: <20060304212650.6BAB910C6B@dexter-peak.quanstro.net>

i forgot about this. this check is only executed if $NAMESPACE
is not set. (that is, when deriving the namespace from $DISPLAY.)

- erik

erik quanstrom <quanstro@quanstro.net> writes

|
| interesting, lib9/getns.c has this code:
|
| ; grep -C 5 0777 $home/cvs/plan9/src/lib9/getns.c
| 	if((d->mode&0777) != 0700 || strcmp(d->uid, getuser()) != 0){
| 		werrstr("bad name space dir %s", p);
| 		free(p);
| 		free(d);
| 		return nil;
| 	}
| 	free(d);
| 	return p;
| }
|
| "Russ Cox" <rsc@swtch.com> writes
|
| |
| | > make sure the permissions on the directory are 700.
| | > it won't work without that.
| |
| | not true.  all mine are mode 755 (i've never even looked before)
| | and it works for me.
| |
| | russ


  reply	other threads:[~2006-03-04 22:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-04 19:54 Serge Gagnon
2006-03-04 20:06 ` Russ Cox
2006-03-04 21:04   ` erik quanstrom
2006-03-04 21:20     ` Russ Cox
2006-03-04 21:26       ` erik quanstrom
2006-03-04 22:34         ` erik quanstrom [this message]
2006-03-04 21:38     ` Serge Gagnon
2006-03-04 22:21       ` erik quanstrom
2006-03-04 22:42         ` Serge Gagnon

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=20060304223436.0C76110C6B@dexter-peak.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@cse.psu.edu \
    --cc=rsc@swtch.com \
    /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).