Read the exports(5) manpage. Its format is different on FreeBSD than it
is on Linux. (rw) isn't valid.
Pay particular attention to the section about "maproot". "In the
absence of -maproot and -mapall options, remote accesses by root will
result in using a credential of -2:-2." So if you mounted the directory
as root on the client side then you were given no permissions. Either
add a "-maproot=root" flag to your exports line (insecure) or change
the ownership on the server to be a different user and mount as that
user on the client.
JN
Quoting geek <arlogeek@lonetree.com>:
> I am using FreeBSD 6.2. I am trying to export a directory so that another
> machine can read and write to it.
>
> With an /etc/exports file that says:
>
> /Data 192.168.1.20(rw)
>
> I get an empty directory on the client machine.
>
> I know that there are files in the directory. They show when I list the
> contents on the FreeBSD machine.
>
> If I leave off the (rw), then the contents of the directory are visible.
>
> But the documents are read only.
>
> What am I doing wrong here?
>
> Thanks to all for any help.
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to
"freebsd-stable-unsubscribe@freebsd.org"
>
>