9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] replica under 9vx
Date: Mon,  5 Oct 2009 09:56:45 -0400	[thread overview]
Message-ID: <2a2a9840155433e55c475738d357f627@brasstown.quanstro.net> (raw)
In-Reply-To: <<13426df10910042341k73b0de26u6c7f3f1992549c9c@mail.gmail.com>>

> > if (perm&0400 == 0) then do a mkdir with 0400, an open, and an fchmod. Tomorrow,
> > that is. I think the work-around is pretty easy.
> > I figure the 0400 might work because mode has to be OREAD at this point anyway.
>
> This is the only way to do it, since as I earlier pointed out, perm is
> 0 ... sheesh!

i believe you ment
	if((perm&0400) == 0)

- erik



       reply	other threads:[~2009-10-05 13:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <<13426df10910042341k73b0de26u6c7f3f1992549c9c@mail.gmail.com>
2009-10-05 13:56 ` erik quanstrom [this message]
     [not found] <<f7c633ef2aae073a6ed65cf21142b5b2@quintile.net>
2009-10-04 17:25 ` erik quanstrom
     [not found] <<13426df10910032308j1c9aac90k51dd2400db23f79f@mail.gmail.com>
2009-10-04 15:22 ` erik quanstrom
2009-10-04 16:30   ` ron minnich
2009-10-04 17:20     ` Steve Simon
2009-10-04 21:15       ` ron minnich
2009-10-05  0:55         ` Fernan Bolando
2009-10-05  4:42           ` ron minnich
2009-10-05  6:39             ` ron minnich
2009-10-05  6:41               ` ron minnich
2009-10-04  6:08 ron minnich

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=2a2a9840155433e55c475738d357f627@brasstown.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /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).