From owner-freebsd-bugs Thu Dec 11 00:30:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA17680 for bugs-outgoing; Thu, 11 Dec 1997 00:30:04 -0800 (PST) (envelope-from owner-freebsd-bugs) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA17608; Thu, 11 Dec 1997 00:30:01 -0800 (PST) (envelope-from gnats) Date: Thu, 11 Dec 1997 00:30:01 -0800 (PST) Message-Id: <199712110830.AAA17608@hub.freebsd.org> To: freebsd-bugs Cc: From: MIHIRA "Sanpei" Yoshiro Subject: Re: bin/5148: mode of file and access on NFS mounted partitions Reply-To: MIHIRA "Sanpei" Yoshiro Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/5148; it has been noted by GNATS. From: MIHIRA "Sanpei" Yoshiro To: freebsd-gnats-submit@freebsd.org, Joel.Faedi@esial.u-nancy.fr Cc: Subject: Re: bin/5148: mode of file and access on NFS mounted partitions Date: Thu, 11 Dec 1997 17:23:30 +0900 Hi. I also send-pr-ed[1] this problem. I checked NetBSD system, it is still solved. And I checked NetBSD source-changes mailing list, I got below message[2]. ----------From NetBSD source-changes Mailing list---- Date: 22 Feb 1997 03:00:03 -0000 Message-ID: <19970222030003.14225.qmail@mail.NetBSD.ORG> From: source@NetBSD.ORG To: source-changes@NetBSD.ORG Subject: NetBSD master CVS tree commits Sender: source-changes-owner@NetBSD.ORG Precedence: list ((omitted)) fvdl Fri Feb 21 18:56:02 PST 1997 Update of /a/cvsroot/src/sys/nfs In directory netbsd1:/var/slash-tmp/cvs-serv13955 Modified Files: nfs_serv.c Log Message: Fixes from BSDI (thanks go to Keith Bostic). Original RCS message: date: 1996/11/20 20:02:54; author: pjd; state: Exp; lines: +7 -4 In nfsrv_access(), if VOP_ACCESS() returns an error and the error == EPERM or its not the owner doing the access, return the error. ----------From NetBSD source-changes Mailing list---- I think this problem is from NET/2 or Lite2(?). BSD/OS and NetBSD was already fixed.... I will review NetBSD nfs_serv.c code, but I don't have enough time to create patch. [1] bin/4805 NFSv3 server readonly file permission problem http://www.freebsd.org/cgi/query-pr.cgi?pr=4805 [2] NetBSD source-changes mailing list ftp://ftp.iij.ad.jp/pub/NetBSD/mailing-lists/source-changes/source-changes.0317 --- Yoshiro MIHIRA sanpei@jp.freebsd.org sanpei@yy.cs.keio.ac.jp