Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jun 2007 09:47:16 +0200
From:      "Claus Guttesen" <kometen@gmail.com>
To:        "Matthew Herzog" <matthew.herzog@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: mounting Solaris 10 NFS share
Message-ID:  <b41c75520706010047g1b61c05fqad80e23edeafc32@mail.gmail.com>
In-Reply-To: <7cf39bb60705311641y29cec38bxec5e1d2794072856@mail.gmail.com>
References:  <7cf39bb60705311641y29cec38bxec5e1d2794072856@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> I'm trying to mount a Solaris 10 NFS share from my FreeBSD 6.2-STABLE
> machine and I'm having some permissions problems.
>
> Here's my /etc/dfs/dfstab file on Solaris 10.
>
> share -F nfs  -o rw=spark -d "generic" /export/home/mush
>
> and the line in /etc/fstab on FreeBSD:
>
> 192.168.0.26:/export/home/mush     /mnt/share     nfs    0     0
>
> I am able to mount the share but unable to access it on the FreeBSD
> machine. In fact I can't even cd into /mnt/share as root on FreeBSD.
> Changinf the dir's permissions to 0777 on Solaris does "fix" the
> problem but . . . it's not a solution.

As mentioned earlier it is probably a mismatch between uid/gid. And by
default root is *not* allowed access to nfs-shares unless you specify
map-root=root (freebsd-syntax) on your nfs-server, albeit this is
*not* recommended as well to grant root access to nfs.

-- 
regards
Claus

When lenity and cruelty play for a kingdom,
the gentlest gamester is the soonest winner.

Shakespeare



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