From owner-freebsd-stable Tue Jan 23 16: 7:24 2001 Delivered-To: freebsd-stable@freebsd.org Received: from c014.sfo.cp.net (c014-h001.c014.sfo.cp.net [209.228.12.65]) by hub.freebsd.org (Postfix) with SMTP id F0F1637B400 for ; Tue, 23 Jan 2001 16:07:03 -0800 (PST) Received: (cpmta 6706 invoked from network); 23 Jan 2001 10:53:51 -0800 Received: from d8c81e5f.dsl.flashcom.net (HELO quadrajet.flashcom.com) (216.200.30.95) by smtp.flashcom.net (209.228.12.65) with SMTP; 23 Jan 2001 10:53:51 -0800 X-Sent: 23 Jan 2001 18:53:51 GMT Received: (from guy@localhost) by quadrajet.flashcom.com (8.9.3/8.9.3) id KAA00392; Tue, 23 Jan 2001 10:53:50 -0800 (PST) (envelope-from gharris) Date: Tue, 23 Jan 2001 10:53:50 -0800 From: Guy Harris To: Bjoern Groenvall Cc: FreeBSD Stable , Linux NFS mailing list , Guy Harris , Neil Brown , matthias.andree@stud.uni-dortmund.de Subject: Re: [NFS] Incompatible: FreeBSD 4.2 client, Linux 2.2.18 nfsv3 server, read-only export Message-ID: <20010123105350.B344@quadrajet.flashcom.com> References: <20010123015612.H345@quadrajet.flashcom.com> <20010123162930.B5443@emma1.emma.line.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from bg@sics.se on Tue, Jan 23, 2001 at 05:26:54PM +0100 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Jan 23, 2001 at 05:26:54PM +0100, Bjoern Groenvall wrote: > The RFC does not explicitly mention how to handle read-only file > systems. I think it would be really nice if the server returns those > permissions that the client is allowed with the write bits unset. Yes - for one thing, that means that if some client decides, while it's asking whether the server whether it can write to a file, to check also whether it can read from the file, it can get back an answer to both of those questions, even if the file is on a read-only file system. > That is also the solution that Guy came up with. I can't claim credit for the notion of handling ACCESS requests to files on read-only file systems in that fashion - I just checked what Solaris did. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message