From owner-freebsd-fs@freebsd.org Fri Feb 28 11:12:12 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 1AE312606B4 for ; Fri, 28 Feb 2020 11:12:12 +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 48TRh94JcRz4shC for ; Fri, 28 Feb 2020 11:12:09 +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 01SBC4Ne040985; Fri, 28 Feb 2020 11:12:04 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 01SBC4aN017681; Fri, 28 Feb 2020 11:12:04 GMT Received: (from martin@localhost) by higson.cam.lispworks.com (8.14.4/8.14.4/Submit) id 01SBC4ui017677; Fri, 28 Feb 2020 11:12:04 GMT Date: Fri, 28 Feb 2020 11:12:04 GMT Message-Id: <202002281112.01SBC4ui017677@higson.cam.lispworks.com> From: Martin Simmons To: Alan Batie CC: luoqi.chen@gmail.com, freebsd-fs@freebsd.org In-reply-to: <751dcbf4-9cd6-0d6f-a9d9-38615966cf9d@peak.org> (message from Alan Batie on Thu, 27 Feb 2020 15:39:37 -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> <751dcbf4-9cd6-0d6f-a9d9-38615966cf9d@peak.org> X-Rspamd-Queue-Id: 48TRh94JcRz4shC 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.54 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.65)[-0.652,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.87)[-0.869,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)[]; 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]; FREEMAIL_CC(0.00)[gmail.com]; 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:12:12 -0000 >>>>> On Thu, 27 Feb 2020 15:39:37 -0800, Alan Batie said: > > That makes no difference: > > [117] $ sh -x ~/nfst > + cat /etc/redhat-release > CentOS release 6.10 (Final) > + df . > Filesystem 1K-blocks Used Available Use% Mounted on > zbackups02.peak.org:/zbackups/zmail03-admin > 5027215872 91682304 4935533568 2% /zbackups > + rm -f x > + touch x > + chmod 444 x > + ls -l x > -r--r--r--. 1 alan root 0 Feb 27 15:38 x > + echo foo > /home/alan/nfst: line 9: x: Permission denied > + cat x > [118] $ Is this mounted with nfs version 3? I'm mounting with version 3 and also get Permission denied from CentOS release 6.10 (Final). __Martin