From: Stuart Sheldon Subject: Re: take away nfs write permissions instantly Date: Thu, 20 Jun 2002 07:24:47 -0700 Sender: nfs-admin@lists.sourceforge.net Message-ID: <3D11E5AF.2050008@actusa.net> References: <3D11B0FF.8030008@psi.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Cc: nfs@lists.sourceforge.net Return-path: Received: from dns1.actusa.net ([205.147.44.100]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17L2rk-0005xd-00 for ; Thu, 20 Jun 2002 07:24:52 -0700 To: Kapeller Rene PSI Errors-To: nfs-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Unsubscribe: , List-Archive: Did you run exportfs -r after you changed exports? Stu Kapeller Rene PSI wrote: > Can anyone help me on the following problem: > > In order to take away nfs write permissions instantly for a previously > mounted > nfs directory called '/data', I'm changing the export options for '/data' > on the server to 'ro', while keeping the mount on the client. > > exportfs -io ro,sync,wdelay,no_root_squash nfsclient:/data > > exportfs -v > /data nfsserver(ro,wdelay,no_root_squash) > > Surprisingly the client can still write to /data at this point, unless I do > umount/mount of /data. > > Is this the way it's suposed to work? > > Changing the nfs export options on a SunOS 5.6 while clients have mounted > a nfs path, write permissions are instantly taken away from it. > > share -F nfs -o ro,root=nfsclient /data > > In both cases I used the following nfs mount options: > mount -o rw,sync,nfsvers=3,wsize=32768,rsize=32768 > > Thanks! > - Rene > > > > > ------------------------------------------------------- > Bringing you mounds of caffeinated joy > >>> http://thinkgeek.com/sf <<< > > _______________________________________________ > NFS maillist - NFS@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nfs ------------------------------------------------------- Bringing you mounds of caffeinated joy >>> http://thinkgeek.com/sf <<< _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs