From: "J. Bruce Fields" <bfields@fieldses.org>
To: Andrey Borzenkov <arvidjaar@gmail.com>
Cc: "Myklebust, Trond" <Trond.Myklebust@netapp.com>,
"linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>
Subject: Re: Effective process GID is ignored when client creates file on NFS
Date: Thu, 8 Nov 2012 07:19:01 -0500 [thread overview]
Message-ID: <20121108121901.GA22735@fieldses.org> (raw)
In-Reply-To: <CAA91j0UthFpt3TeJWUV4YAMyKdEKhYGZrK4j8odPd6td_s-g9w@mail.gmail.com>
On Thu, Nov 08, 2012 at 10:43:04AM +0400, Andrey Borzenkov wrote:
> OK this gave me idea. So the problem is indeed anon=0. If I reexport
> the same filesystems with root=... option, files are created with
> correct group ownership. I have to think about it, but on the first
> glance NetApp behavior is correct. As root= option is missing it maps
> root to anonymous user, and as anon=0 is present, this anonymous user
> is root. What do standards say about group ownership in this case?
As far as the NFS specs are concerned this sort of thing is up to the
implementation.
The behavior you describe sounds reasonable to me, and is similar to
what the Linux server would do, for example.
--b.
prev parent reply other threads:[~2012-11-08 12:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-29 14:09 Effective process GID is ignored when client creates file on NFS Andrey Borzenkov
2012-11-07 19:13 ` J. Bruce Fields
2012-11-07 19:28 ` Andrey Borzenkov
2012-11-07 20:35 ` Myklebust, Trond
2012-11-08 3:12 ` Andrey Borzenkov
2012-11-08 6:43 ` Andrey Borzenkov
2012-11-08 12:19 ` J. Bruce Fields [this message]
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=20121108121901.GA22735@fieldses.org \
--to=bfields@fieldses.org \
--cc=Trond.Myklebust@netapp.com \
--cc=arvidjaar@gmail.com \
--cc=linux-nfs@vger.kernel.org \
/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.