From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Tue, 30 Oct 2007 08:44:16 -0500 From: "Eric Van Hensbergen" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] Authenticated mounts from non-plan9 systems In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Topicbox-Message-UUID: e0344214-ead2-11e9-9d60-3106f5b1d025 On 10/30/07, johnny@sorosj.hd.free.fr wrote: > Hi eveyone! > I've been a fan of plan9 for quite a while, using it whenever I had a machine that would run it. > Now I have a small network of machines at home, with one plan9 auth+cpu+fs server (yeah, I know that's not much, but I don't have any more hardware that would run it). > I'd like to be able to mount the exports on that machine to other machines (mostly linux): I've been able to get a non-authenticated mount via p9p, but I can't seem to be able to get an authenticated mount. srv says there is no authentication needed. I was wondering if this was a p9p limitation or wether my cpu+auth+fs server was missing something, or if I was doing something wrong. > Here is how I am mounting it right now: > $ srv -a sorosj.hd.free.fr > rx: exportfs: authentication not required > > so there is no authentication, though I can do > $ 9 mount `namespace`/sorosj.hd.free.fr /tmp/tmp > > and then I can see my root, but I can't write to it. This is regardless of wether I supply mount with authentication parameters or not (eg. -o user=$USER,....,proto=UNIX ) > Any help would be greatly appreaciated. If this is using v9fs under the hood, I believe you'll need to supply uid/gid parameters as well as authentication. Non-9p2000.u mounts (ie. mounting p9p apps or plan9) don't have uid mapping. Otherwise turn on debug (-o debug=0xff) and send a trace to v9fs-developer and we'll see if can figure out what is going on. -eric