2002-06-20 18:08:11

by Tom McNeal

[permalink] [raw]
Subject: Re: [Fwd: take away nfs write permissions instantly]

Hi -

Here is an update on Solaris behavior from a SUN architect;
I hadn't realized it would notice the export change and
return errors. I'd assume that Linux is behaving like I
said, but it appears that it should notice.

Tom


Peter Staubach wrote:
>
>
> Re-exporting a file system to remove write permission will immediately
> disable all clients from writing through that export. The client will
> not know that the files are now read-only, but they will be. The file
> system does not need to be remounted or anything else like that. The
> EROFS errors will just start being returned from the server to the
> client.
>
> When this person indicates that the client could still write data,
> I would presume that the write(2) system call appears to succeed,
> ie. doesn't return an error, but encounters the EROFS error later
> when it actually tries to write the data to the server.
>
> ps

--
------------------------------------------------------------
Tom McNeal [email protected] (650)906-0761 (cell)
------------------------------------------------------------


-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs