All of lore.kernel.org
 help / color / mirror / Atom feed
* take away nfs write permissions instantly
@ 2002-06-20 10:39 Kapeller Rene PSI
  2002-06-20 14:24 ` Stuart Sheldon
  2002-06-21  3:00 ` Neil Brown
  0 siblings, 2 replies; 9+ messages in thread
From: Kapeller Rene PSI @ 2002-06-20 10:39 UTC (permalink / raw)
  To: nfs

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-06-21 18:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-20 10:39 take away nfs write permissions instantly Kapeller Rene PSI
2002-06-20 14:24 ` Stuart Sheldon
2002-06-20 14:58   ` Kapeller Rene PSI
2002-06-20 16:44     ` Tom McNeal
2002-06-21  3:00 ` Neil Brown
2002-06-21  3:47   ` Kapeller Rene PSI
2002-06-21  5:13     ` Neil Brown
2002-06-21 14:57       ` Bernd Schubert
2002-06-21 18:04         ` Tom McNeal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.