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.
Here is a summary of what I did: The share command I used is: [root at server ]# share -F nfs -o rw=client_machine /exportdir/user_directory Then in the client_machine, I've checked the mount point and verified that owner of the mountpoint in the client_machine and in the server are identical. Then, I tried mounting using either ?t nfs or -t nfs4 switch . Using ?t nfs the ownership was root:root, and using ?t nfs4 the ownership was nobody:nobody . trial one: mount -t nfs server:/exportdir/user_directory /home/user_directory [root at client_machine 1]# ls -l /home/user_directory/ drwxr-xr-x+ 2 root root 2 Sep 2 11:01 user trial two: mount -t nfs4 server:/exportdir/user_directory /home/user_directory [root at client_machine 1]# ls -l /home/user_directory/ drwxr-xr-x 2 nobody nobody 2 Sep 2 11:01 user How can I make sure that the user gets his ownership on the mounted directory ? Thanks, Itay. This message posted from opensolaris.org