Itay Menahem wrote:
> Problem: 
> while using Solaris10, I exported directory using the share command. The 
> owner of the directory is 'user' .  I then tried to mount this directory from 
> a linux machine. The directory was indeed mounted, but the owner of the 
> directory and the files within it is either 'root'  or 'nobody' (using nfs4 
> switch to mount).  The groupid and userid are identical on both machines. 
>
>   
Itay,

Even though the groupid and userid are identical on both machines, with 
NFSv4 you have to also make sure that the
idmapping domains are set to be the same.

Look at http://blogs.sun.com/nfsv4/entry/q6_how_do_i_change.

On the Solaris box:

cat /var/run/nfs4_domain

On the Linux box:
sudo cat /proc/net/rpc/nfs4.idtoname/content

You can use the link I provided to sync them up.


Later,
Tom


Reply via email to