On Sat, Sep 12, 2009 at 9:52 PM, Gregory Gee <gregory.gee at sympatico.ca> 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? ?If it matters, /files on the server is zfs/zraid1.
Because you are trying to do it as root but did not export it to be writable by root. On the client: ls -ld /mnt/test su - <owner displayed by ls> cd /mnt/test touch t If you need root to be able to write to it, on the server: share -F nfs -o rw,root /files/files If this is in anyplace other than a toy environment, be sure to give a list of hosts that should have access with rw=...,root=... . > > root at nas1:~# zfs list files > NAME ? ?USED ?AVAIL ?REFER ?MOUNTPOINT > files ? ?76K ? 146G ? ?25K ?/files > > > Thanks, > Greg > -- > This message posted from opensolaris.org > _______________________________________________ > nfs-discuss mailing list > nfs-discuss at opensolaris.org > -- Mike Gerdts http://mgerdts.blogspot.com/