Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2020 11:12:04 GMT
From:      Martin Simmons <martin@lispworks.com>
To:        Alan Batie <alan@peak.org>
Cc:        luoqi.chen@gmail.com, freebsd-fs@freebsd.org
Subject:   Re: Linux could write to read only files on FreeBSD NFS server
Message-ID:  <202002281112.01SBC4ui017677@higson.cam.lispworks.com>
In-Reply-To: <751dcbf4-9cd6-0d6f-a9d9-38615966cf9d@peak.org> (message from Alan Batie on Thu, 27 Feb 2020 15:39:37 -0800)
References:  <CAHJqQjuEVpL4xV1dAf6scFqFfMNm1gY3jOaO64ZQJTCQi_qzcQ@mail.gmail.com> <707243CD-C67E-4DAD-AC5A-68EC11CFFDFD@lysator.liu.se> <6EC06026-DA28-4CAC-8D56-5C7856D4625E@lysator.liu.se> <YTBPR01MB3374713F573B548791A22F98DDEB0@YTBPR01MB3374.CANPRD01.PROD.OUTLOOK.COM> <CAHJqQjsP-w9LAS4AV64Pu9Jmv0kVFodKdT_jLUcyop3sNVh_EA@mail.gmail.com> <d73aea39-c5c2-e8ce-3745-bfd49fd69664@peak.org> <CAHJqQjtLA9sFgczxC3xRZVXj6QzK-xLyz-R_L5y68vq8bw=xEg@mail.gmail.com> <751dcbf4-9cd6-0d6f-a9d9-38615966cf9d@peak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> On Thu, 27 Feb 2020 15:39:37 -0800, Alan Batie said:
> 
> That makes no difference:
> 
> <zmail03-admin.peak.org> [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
> <zmail03-admin.peak.org> [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



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