From: Peter Staubach <staubach@redhat.com>
To: Myles Uyema <mlists@uyema.net>
Cc: nfs@lists.sourceforge.net
Subject: Re: 'noacl' NFS parameter seems ineffective (Fedora Core 7)
Date: Thu, 05 Jul 2007 17:19:32 -0400 [thread overview]
Message-ID: <468D6064.3080307@redhat.com> (raw)
In-Reply-To: <a90f74cc0707051401p38167340s955be299a807710d@mail.gmail.com>
Myles Uyema wrote:
> If I understand the explanation of the 'noacl' parameter, it should
> prevent ACCESS calls right? I'm not seeing this occurring on Fedora
> Core 7 (2.6.21-1.3228.fc7 #1 SMP Tue Jun 12 14:56:37 EDT 2007 x86_64
> x86_64 x86_64 GNU/Linux)
>
> I mounted using tcp,noacl,rsize=32768,wsize=32768. The NFS server is
> a NetApp filer running 7.2.1.1 <http://7.2.1.1>, and is a unix-only
> filesystem.
>
> Then I ran a script to 'dd' 286 files on the NFS mountpoint. The
> script ran as UID 48.
> 340 reads
> 286 getattr
> 286 access
>
> The nfsstat showed my client still performing ACCESS calls. I'd like
> to believe that the GETATTR has already verified the permission bits,
> and thus an ACCESS shouldn't be necessary.
Actually, all that the "noacl" mount option means is to not attempt
to get or set or ACLs on the server. It does not affect the security
checking that the client does to verify access.
The permission bits are not enough to determine access permissions.
Root mapping on the server is an easy example of this. Therefore,
the client always goes over the wire to query the server for the
permissions that it will allow.
Thanx...
ps
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
next prev parent reply other threads:[~2007-07-05 21:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-05 21:01 'noacl' NFS parameter seems ineffective (Fedora Core 7) Myles Uyema
2007-07-05 21:19 ` Peter Staubach [this message]
2007-07-05 21:39 ` Myles Uyema
2007-07-06 11:46 ` Peter Staubach
2007-07-06 13:24 ` Trond Myklebust
2007-07-06 13:40 ` Peter Staubach
2007-07-06 14:27 ` Trond Myklebust
2008-05-05 18:27 ` Clay McClure
[not found] ` <loom.20080505T174704-239-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2008-05-05 20:29 ` Trond Myklebust
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=468D6064.3080307@redhat.com \
--to=staubach@redhat.com \
--cc=mlists@uyema.net \
--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 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.