Date: 23 Jan 2001 17:26:54 +0100 From: Bjoern Groenvall <bg@sics.se> To: FreeBSD Stable <freebsd-stable@FreeBSD.ORG> Cc: Linux NFS mailing list <nfs@lists.sourceforge.net>, Guy Harris <gharris@flashcom.net>, Neil Brown <neilb@cse.unsw.edu.au>, 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: <wuofwynsj5.fsf_-_@bg.sics.se> In-Reply-To: Matthias Andree's message of "Tue, 23 Jan 2001 16:29:30 %2B0100" References: <20010123015612.H345@quadrajet.flashcom.com> <20010123162930.B5443@emma1.emma.line.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Matthias" == Matthias Andree <matthias.andree@stud.uni-dortmund.de> writes: Matthias> The question remains: Linux kernel problem or FreeBSD client Matthias> problem? Or perhaps we should blame RFC1813? However, 1813 says that ACCESS should return one of the following errors NFS3ERR_IO NFS3ERR_STALE NFS3ERR_BADHANDLE NFS3ERR_SERVERFAULT ,and "The client encodes the set of permissions that are to be checked in a bit mask. The server checks the permissions encoded in the bit mask. A status of NFS3_OK is returned along with a bit mask encoded with the permissions that the client is allowed.". It also says "NFS3ERR_ROFS Read-only file system. A modifying operation was attempted on a read-only file system." 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. That is also the solution that Guy came up with. Guy> Perhaps the Linux server should, in "nfsd_access()", treat "nfserr_rofs" Guy> the same way it treats "nfserr_perm" and "nfserr_acces", and just say Guy> the access type is denied but the access query succeeded, doing the same Guy> thing that Solaris and a future release of the NetApp software will do. Cheers, Björn -- _ _ ,_______________. Bjorn Gronvall (Björn Grönvall) /_______________/| Swedish Institute of Computer Science | || PO Box 1263, S-164 29 Kista, Sweden | Schroedingers || Email: bg@sics.se, Phone +46 -8 633 15 25 | Cat |/ Cellular +46 -70 768 06 35, Fax +46 -8 751 72 30 `---------------' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?wuofwynsj5.fsf_-_>