Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 1997 20:20:01 -0700 (PDT)
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-bugs
Subject:   Re: bin/4805: NFSv3 server readonly file permission problem
Message-ID:  <199710210320.UAA13132@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/4805; it has been noted by GNATS.

From: Bruce Evans <bde@zeta.org.au>
To: FreeBSD-gnats-submit@FreeBSD.ORG, sanpei@yy.cs.keio.ac.jp
Cc:  Subject: Re: bin/4805: NFSv3 server readonly file permission problem
Date: Tue, 21 Oct 1997 13:09:48 +1000

 >>How-To-Repeat:
 >
 >1. create readonly file on NFS server
 >-r--r--r--  1 sanpei  yamamoto  1421 Oct 19 23:54 test
 >...
 >case C [problem]
 >NFS server	FreeBSD 2.2.2-R
 >NFS client	FreeBSD 2.2.5-BETA and nfs**v3** mount
 >
 >open read/write mode and it can be editted and written by save-file.
 
 This is also broken with a FreeBSD-current client and server.
 
 The problem seems to be that nfsrv_access() pretends that the permissions
 are 777 for the owner of the file.  nfsV2 clients apparently understand
 this, but nfsrv_access() is used internally by V3 parts of the server,
 and the server doesn't understand itself.
 
 This seems to be fixed in NetBSD by passing an `override' arg to
 nfsrv_access() to tell it when to fudge the permissions.
 
 Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710210320.UAA13132>