Thanks. this explains what I saw in the post I just sent.  I  
think.  I shared it with 'root' like below, but root still gets mapped  
to nobody.

root at nas1:~# share -F nfs -o rw,root /files/files

    Is there a way to make root get mapped to root?

Thanks,
Greg

On 2009-09-13, at 8:41 AM, Robert Thurlow wrote:

> Gregory Gee wrote:
>> New to Solaris share, so bare with me.  On my OpenSolaris box, I  
>> type the  following.
>> root at nas1:~# share -F nfs -o rw /files/files
>> On my Ubuntu904 box, I type the following.
>> root at www:~# mount 192.168.10.50:/files/files /mnt/test
>> root at www:~# touch /mnt/test/t
>> touch: cannot touch `/mnt/test/t': Permission denied
>> So why can't I write?
>
> Operations as root over NFS are not honored unless you use
> the 'root=' share option on the server.  This is like the
> 'root squash' idea in Linux.  If you were to open up perms
> on /files/files to 777, the client should be able to create
> a file, and it will be owned by 'nobody', the anonymous user.
> Other users known to both machines will do better.  If you
> really need root access, you can specify which machines you
> trust to do that with the 'root=' share option.
>
> Rob T
>

Reply via email to