Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/tests/fs/common


> On Thu, Jan 06, 2011 at 12:53:28AM +0000, YAMAMOTO Takashi wrote:
>  > > (one nfsro test currently fails with EROFS vs. EACCES.  Hopefully
>  > > someone else can debate the correct errno)
>  > 
>  > the NFS ACCESS procedure, which is used for open time permission checks,
>  > does not have a way to distinguish EROFS and EACCES.  ie. EACCES is
>  > the expected behaviour in this case.
> Shouldn't the nfs client know that it's supposed to be readonly?

probably.  please feel free to fix it. :-)


> Or is
> this a case where the nfs client is read-write but the server isn't?

i think so, yes.  in this case, the client can't know EROFS at open time.


> -- 
> David A. Holland

Home | Main Index | Thread Index | Old Index