From: Jason Catena <jason.catena@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] remedial sources auth, connect, and mount in plan9port
Date: Thu, 1 Oct 2009 04:50:40 -0500 [thread overview]
Message-ID: <d50d7d460910010250r356da7e5se789673a4c10921c@mail.gmail.com> (raw)
In-Reply-To: <f75780240910010044i3c1d9a8fnf9558cdc3fb5a2ef@mail.gmail.com>
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 <me@acm.jhu.edu> 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
>
>
next prev parent reply other threads:[~2009-10-01 9:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-01 5:06 Jason Catena
2009-10-01 7:44 ` Venkatesh Srinivas
2009-10-01 9:50 ` Jason Catena [this message]
2009-10-01 10:04 ` Ethan Grammatikidis
2009-10-01 10:31 ` sqweek
2009-10-01 12:38 ` Abhishek Kulkarni
2009-10-01 15:34 ` Jason Catena
[not found] <<d50d7d460910010834r40c926barbc3dedd5828f3bd1@mail.gmail.com>
2009-10-01 16:22 ` erik quanstrom
2009-10-02 3:03 ` Jason Catena
[not found] <<d50d7d460910012003h6aec0d3bj40ebdadac3358b6a@mail.gmail.com>
2009-10-02 3:11 ` erik quanstrom
2009-10-02 16:52 ` Jason Catena
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=d50d7d460910010250r356da7e5se789673a4c10921c@mail.gmail.com \
--to=jason.catena@gmail.com \
--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).