All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Babut <tb@dsc-shop.de>
To: linux-kernel@vger.kernel.org
Subject: NFS: Problem with user and group IDs
Date: Tue, 01 Jun 2004 16:58:03 +0200	[thread overview]
Message-ID: <40BC997B.2070505@dsc-shop.de> (raw)

Hi,

I've got a problem with 'squashing' user and group IDs under NFS.

On the NFS Server there is the directory /data/test with owner ID 1011 
and group ID 100.

Here is the /etc/exports file on the NFS server:
/data/test 
172.16.10.1(ro,root_squash,all_squash,anon_uid=65534,anongid=65534)

On the client side I mount it with the command:
mount -t nfs 172.16.10.2:/data/test /mnt/test

After it has been successfully mounted, the directory on the client 
system has the owner ID 1011 and group ID 100, like on the server.

But the expected result for me is, that on the client system the 
directory has owner ID 65534 and group ID 65534 like it has been set in 
the /etc/exports file on the server.
I tried less options in the exports file as well. The result is always 
the same. With squash and without squash options.

Client and Server are Debian woody. I tried this on a Debian sid 
(unstable) system as well, same results. Switching from 
nfs-kernel-server to nfs-user-server didn't change anything, too.

My question is now: Is this a bug, or I am doing something wrong?

Thanks for any answer.

Regards,
Thomas Babut


             reply	other threads:[~2004-06-01 14:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-01 14:58 Thomas Babut [this message]
2004-06-01 15:21 ` NFS: Problem with user and group IDs J. Bruce Fields

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=40BC997B.2070505@dsc-shop.de \
    --to=tb@dsc-shop.de \
    --cc=linux-kernel@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.