Re: [9fans] remedial sources auth, connect, and mount in plan9port

2009-10-02 Thread Jason Catena
Instrumented each return from convM2S.c. j...@jdc-desktop:/n/sources/contrib/catenate/times$ sudo cp /home/jdc/contrib/latin1.7a.font . ap(9cd1a0) + size(b) == p(9cd1ab) ap(9d0510) + size(52) == p(9d0562) ap(9d04e0) + size(21) == p(9d0501) ap(9d02a0) + size(16) == p(9d02b6) ap(9d02a0) + size(b) ==

Re: [9fans] remedial sources auth, connect, and mount in plan9port

2009-10-01 Thread erik quanstrom
> My test case tries to copy a file over top of one that already exists. > In this case, the bug decided to flit right by the check at > convM2S.c:216,217. i thought the original problem was trying to change modes or permissions on a file. that's why i guessed the problem message would be a Rwst

Re: [9fans] remedial sources auth, connect, and mount in plan9port

2009-10-01 Thread Jason Catena
On Thu, Oct 1, 2009 at 11:22, erik quanstrom wrote: >> Every time I do so, either with touch or chmod for example, I get >> errors like this: >> >> Oct 1 08:52:39.288 read bad packet from 5 > > add some debugging to 9pserve.c around 'read bad packet'. > i'm gonna guess (since i don't have time t

Re: [9fans] remedial sources auth, connect, and mount in plan9port

2009-10-01 Thread erik quanstrom
> Every time I do so, either with touch or chmod for example, I get > errors like this: > > Oct 1 08:52:39.288 read bad packet from 5 add some debugging to 9pserve.c around 'read bad packet'. i'm gonna guess (since i don't have time to get p9p auth working) that this test has failed src/lib9/co

Re: [9fans] remedial sources auth, connect, and mount in plan9port

2009-10-01 Thread Jason Catena
On Thu, Oct 1, 2009 at 05:31, sqweek wrote: > 2009/10/1 Ethan Grammatikidis : >> On Thu, 1 Oct 2009 04:50:40 -0500 >> Jason Catena wrote: >>> $ ls -lad >>> drwxrwxr-x 1 4294967294 4294967294 0 2009-09-30 23:11 . >> >> You have numbers for user and group names there. Un*x likes the >> numbers, bu

Re: [9fans] remedial sources auth, connect, and mount in plan9port

2009-10-01 Thread Abhishek Kulkarni
>  Yeah, I suspect at this point the linux kernel is denying the > operation based on its idea of permissions. there's a v9fs mount > option you might try... I forget what it is exactly srv(4) has an example on how to do an authenticated mount of sources, which needs an update BTW. The command to

Re: [9fans] remedial sources auth, connect, and mount in plan9port

2009-10-01 Thread sqweek
2009/10/1 Ethan Grammatikidis : > On Thu, 1 Oct 2009 04:50:40 -0500 > Jason Catena wrote: > $ touch this > touch: cannot touch `this': Hammer Time! Fixed. >> $ ls -lad >> drwxrwxr-x 1 4294967294 4294967294 0 2009-09-30 23:11 . > > You have numbers for user and group names there.  Un*x likes the

Re: [9fans] remedial sources auth, connect, and mount in plan9port

2009-10-01 Thread Ethan Grammatikidis
On Thu, 1 Oct 2009 04:50:40 -0500 Jason Catena wrote: > $ ls -lad > drwxrwxr-x 1 4294967294 4294967294 0 2009-09-30 23:11 . You have numbers for user and group names there. Un*x likes the numbers, but plan 9 wants strings. Maybe when you write your system is sending those numeric IDs because i

Re: [9fans] remedial sources auth, connect, and mount in plan9port

2009-10-01 Thread Jason Catena
Thank you very much, Venkatesh. All the commands work (don't fail) as you gave them. I still get the same permission-denied error I got before. I can see it, but am not allowed to write to it. $ 9 factotum $ srv -a sources.cs.bell-labs.com !adding key: role=client proto=p9sk1 dom=outside.plan9

Re: [9fans] remedial sources auth, connect, and mount in plan9port

2009-10-01 Thread Venkatesh Srinivas
Hi, In order to construct an authenticated mount of sources, you will need to start factotum, use srv -a to create an auth-ed connection to the server and to "post" it, and to mount the "posted" connection. (assuming you have a working plan9port install and are on a unix): $ 9 factotum (start fac

[9fans] remedial sources auth, connect, and mount in plan9port

2009-09-30 Thread Jason Catena
Geoff was kind enough to provide to me a contrib directory on sources, so I'm now trying to write into it. I can't seem to get the hang of the authorization, connection, and mount steps necessary for an authorized mount of sources in plan9port, so I can just copy files into my contrib directory.