On Thu, Feb 19, 2009 at 9:53 AM, Omer Faruk Sen <omerf...@gmail.com> wrote:
> Hi,
>
> On Solaris10 update 6 I am trying to export a nfs share like this:
>
> zfs set sharenfs="rw=192.168.36.39" backup/192.168.36.39
> zfs set sharenfs="rw=192.168.36.47" backup/192.168.36.47
>
>
> ls -la /backup/
>
> drwxr-xr-x   2 root     root           2 Feb 19 11:20 192.168.36.39
> drwxr-xr-x   3 root     root           3 Feb 19 11:46 192.168.36.47
>
> And output of showmount -e
>
> bash-3.00# showmount -e
> export list for backup1:
> /backup/192.168.36.39 192.168.36.39
> /backup/192.168.36.47 192.168.36.47
>
> On client side of nfs I can mount /backup/192.168.36.39 as RW but when
> I try to create a file or directory I get permission error. Only
> option for me to chmod 777 /backup/*  after that I can write files on
> nfs client. Is there a better way to achive that? Or what am I missing
> here?

You're missing sharing it with root access.

zfs set sharenfs="rw=192.168.36.39,root=192.168.36.39" backup/192.168.36.39

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to