From owner-freebsd-questions  Mon Jan 22 18:24: 2 2001
Delivered-To: freebsd-questions@freebsd.org
Received: from mail.monochrome.org (monochrome.org [206.64.112.124])
	by hub.freebsd.org (Postfix) with ESMTP id 4CCFA37B401
	for <questions@FreeBSD.ORG>; Mon, 22 Jan 2001 18:23:45 -0800 (PST)
Received: from localhost (faro [192.168.1.7])
	by mail.monochrome.org (8.9.3/8.9.3) with SMTP id VAA22367;
	Mon, 22 Jan 2001 21:23:08 -0500 (EST)
	(envelope-from chris@monochrome.org)
Date: Mon, 22 Jan 2001 21:23:08 -0500 (EST)
From: Chris Hill <chris@monochrome.org>
X-Sender: chris@localhost
Reply-To: Chris Hill <chris@monochrome.org>
To: Bill Moran <wmoran@mail.iowna.com>
Cc: questions@FreeBSD.ORG
Subject: Re: NFS weirdness with SGI
In-Reply-To: <3A6CBDA8.F0FCE301@mail.iowna.com>
Message-ID: <Pine.BSF.3.96.1010122211529.2651A-100000@localhost>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-questions@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

On Mon, 22 Jan 2001, Bill Moran wrote:

> I have some weirdness occurring with a couple of SGI workstations. The
> server is FreeBSD 4.2-STABLE running as an NFS server.
> 
> My /etc/exports file consists of one line:
> /data/public -mapall=nobody:nobody
> (machine is behind a firewall, so anyone who can connect is trusted)
> 
> However, when a user logs in as root to the SGI station, he can
> read/write all over the FreeBSD server with no problems, all files are
> created as root:wheel (why group wheel?)
> But if a normal user logs in to the SGI station, he can read but not
> write the NFS export on FreeBSD. It seems like a permissions problem to
> me.

This sounds similar to a problem I had recently. When I would created
files on an NFS-mounted filesystem, they would end up with the wrong
owner and group. It turned out that I had users on both machines with
the same User and group ID, but different names. For example - machine A
has a user foo (1002:1002) while machine B has a user bar (1002:1002)
and a user foo (1003:1003).  When I was logged into A as foo, I would
NFS-mount B but my files on B had owner/group bar instead of foo. This
was with both machines running FreeBSD, BTW. 

Once I vipw'd things so the users/groups/usernames were consistent
between the two machines, the problem went away.

HTH.

--
Chris Hill               chris@monochrome.org
**                     [ Busy expunging <-> ]




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message