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.bell-labs.com
user[jdc]: catenate
password:
!
$ sudo mount -t 9p
/tmp/ns.jdc.192.168.1.101\:0/sources.cs.bell-labs.com /n/sources -o
trans=unix
[sudo] password for jdc:
$ cd /n/sources/contrib/catenate
$ ls -lad
drwxrwxr-x 1 4294967294 4294967294 0 2009-09-30 23:11 .
$ touch this
touch: cannot touch `this': Permission denied
$ ls `namespace`
acme  factotum  plumb  sources.cs.bell-labs.com

Jason Catena


On Thu, Oct 1, 2009 at 02:44, Venkatesh Srinivas <[email protected]> wrote:
> 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 factotum in the current 'namespace'. p9p's current namespace is
> the value of the NAMESPACE environmental variable).
>
> $ srv -a sources.cs.bell-labs.com
> (I am prompted for my userid and password on the server)
> user[venkatesh]: <my sources username>
>
> [mount step; I use v9fs.You will have to adapt if you're using 9pfuse or 
> 9mount]
> $ sudo mount -t 9p $NAMESPACE/sources.cs.bell-labs.com <mountpath> -o 
> trans=unix
>
> Good luck,
> -- vs
>
>

Reply via email to