When a ZFS filesystem mountpoint is owned by someone other than root,
this is not depicted properly on NFSv4 clients:

On the server (FreeBSD 8.1-RELEASE):
temp-nfs# zfs create tank/test/testfs
temp-nfs# chown brodbd:brodbd /tank/test/testfs
temp-nfs# touch /tank/test/testfile
temp-nfs# chown brodbd:brodbd /tank/test/testfile
temp-nfs# ls -l /tank/test
total 2
-rw-r--r--  1 brodbd  brodbd  0 Aug 31 04:48 testfile
drwxr-xr-x  2 brodbd  brodbd  2 Aug 31 04:48 testfs

On the client (RedHat Linux 5.4):
r...@dryas:~# mount temp-nfs:/tank/test /test
r...@dryas:~# ls -l /test
total 2
-rw-r--r-- 1 brodbd brodbd 0 Aug 31 04:48 testfile
drwxr-xr-x 2 root   root   2 Aug 31 04:48 testfs

The same sequence works as expected when the server runs OpenSolaris.
Am I missing something?
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to