Linux NFS development
 help / color / mirror / Atom feed
From: Kapeller Rene PSI <rene.kapeller@psi.ch>
To: Neil Brown <neilb@cse.unsw.edu.au>
Cc: nfs@lists.sourceforge.net
Subject: Re: take away nfs write permissions instantly
Date: Fri, 21 Jun 2002 05:47:25 +0200	[thread overview]
Message-ID: <3D12A1CD.8040502@psi.ch> (raw)
In-Reply-To: 15634.38625.279876.874050@notabene.cse.unsw.edu.au

Neil Brown wrote:
> On Thursday June 20, rene.kapeller@psi.ch 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)
> 
>           ^^^^^^^^^
> 
> Presumably both should read "nfsclient" - yes?
> 
> This should work.
> 
> What version of nfs-utils are you using?? (showmount -v)
> 
> What does /proc/fs/nfs/exports say for nfsclient after you try to
> re-export it?
> 
> Can you give more details?  What is in /etc/exports that relates to
> the client (is it a wildcard export, a netgroup export...)..
> 
> NeilBrown


To be precise, the entry in the /etc/exports looks like this:
/data2  172.19.0.0/255.255.0.0(ro,sync,no_root_squash)

exportfs -v
/data2        	172.19.0.0/255.255.0.0(ro,wdelay,no_root_squash)

cat /proc/fs/nfs/exports
/data2 
pc3691.slspn.psi.ch(rw,no_root_squash,sync,wdelay) # 172.19.84.51

Ooops ...!

I'm using RedHat-7.3 on the server and on the client (nfs-utils-0.3.3-5)

Rene




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

  reply	other threads:[~2002-06-21  3:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2002-06-21  5:13     ` Neil Brown
2002-06-21 14:57       ` Bernd Schubert
2002-06-21 18:04         ` Tom McNeal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D12A1CD.8040502@psi.ch \
    --to=rene.kapeller@psi.ch \
    --cc=neilb@cse.unsw.edu.au \
    --cc=nfs@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox