Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2001 21:30:54 -0500
From:      Bill Moran <wmoran@mail.iowna.com>
To:        Chris Hill <chris@monochrome.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: NFS weirdness with SGI
Message-ID:  <3A6CECDE.BF6DDE8B@mail.iowna.com>
References:  <Pine.BSF.3.96.1010122211529.2651A-100000@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris Hill wrote:
> 
> 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.

Interesting (and something to remember in the future) but in my case the
-mapall directive should be forcing all NFS users to be creating files a
nobody:nobody, but it doesn't seem to be doing that. Not even for
root@SGI (who is the only user able to write to the NFS share at all)

Hmmm ...

-Bill


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A6CECDE.BF6DDE8B>