From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Mon, 5 Oct 2009 09:56:45 -0400 To: 9fans@9fans.net Message-ID: <2a2a9840155433e55c475738d357f627@brasstown.quanstro.net> In-Reply-To: <<13426df10910042341k73b0de26u6c7f3f1992549c9c@mail.gmail.com>> References: <<13426df10910042341k73b0de26u6c7f3f1992549c9c@mail.gmail.com>> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] replica under 9vx Topicbox-Message-UUID: 7edda408-ead5-11e9-9d60-3106f5b1d025 > > 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