On 02/19/09 01:53, Omer Faruk Sen 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?
Did you try to write as root from client?
If so, you would need to add the anon=0 option
to the share on server, to allow root mapping.
--
Thanks,
Helen
_______________________________________________
opensolaris-discuss mailing list
[email protected]