From owner-freebsd-fs@freebsd.org Fri Feb 28 11:13:53 2020 Return-Path: Delivered-To: freebsd-fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3E0C9260753 for ; Fri, 28 Feb 2020 11:13:53 +0000 (UTC) (envelope-from martin@lispworks.com) Received: from lwfs1-cam.cam.lispworks.com (mail.lispworks.com [46.17.166.21]) by mx1.freebsd.org (Postfix) with ESMTP id 48TRk737RZz3DLq for ; Fri, 28 Feb 2020 11:13:50 +0000 (UTC) (envelope-from martin@lispworks.com) Received: from higson.cam.lispworks.com (higson.cam.lispworks.com [192.168.1.7]) by lwfs1-cam.cam.lispworks.com (8.15.2/8.15.2) with ESMTP id 01SBDmnn041223; Fri, 28 Feb 2020 11:13:48 GMT (envelope-from martin@lispworks.com) Received: from higson.cam.lispworks.com (localhost.localdomain [127.0.0.1]) by higson.cam.lispworks.com (8.14.4) id 01SBDlZA017701; Fri, 28 Feb 2020 11:13:47 GMT Received: (from martin@localhost) by higson.cam.lispworks.com (8.14.4/8.14.4/Submit) id 01SBDlsl017697; Fri, 28 Feb 2020 11:13:47 GMT Date: Fri, 28 Feb 2020 11:13:47 GMT Message-Id: <202002281113.01SBDlsl017697@higson.cam.lispworks.com> From: Martin Simmons To: Luoqi Chen CC: rmacklem@uoguelph.ca, freebsd-fs@freebsd.org In-reply-to: (message from Luoqi Chen on Thu, 27 Feb 2020 14:58:55 -0800) Subject: Re: Linux could write to read only files on FreeBSD NFS server References: <707243CD-C67E-4DAD-AC5A-68EC11CFFDFD@lysator.liu.se> <6EC06026-DA28-4CAC-8D56-5C7856D4625E@lysator.liu.se> X-Rspamd-Queue-Id: 48TRk737RZz3DLq X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of martin@lispworks.com has no SPF policy when checking 46.17.166.21) smtp.mailfrom=martin@lispworks.com X-Spamd-Result: default: False [-0.12 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.66)[-0.664,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.44)[-0.440,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[lispworks.com]; AUTH_NA(1.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[21.166.17.46.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:51055, ipnet:46.17.166.0/24, country:GB]; IP_SCORE(-0.01)[country: GB(-0.07)] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Feb 2020 11:13:53 -0000 >>>>> On Thu, 27 Feb 2020 14:58:55 -0800, Luoqi Chen said: > > One more piece of information that might help: this behavior started > somewhere between centos 5 and 6, kernel 2.6.18 and 2.6.32, i.e., the same > script would fail on 2.6.18. Timing wise I believe it coincided with the > introduction of nfsv4. Have you tried mounting it with nfsv3 recently? I can't repeat it with that version (I don't run nfsv4 at all). __Martin