Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 2010 11:52:40 -0700
From:      David Brodbeck <gull@gull.us>
To:        freebsd-questions@freebsd.org
Subject:   NFSv4 shows all ZFS filesystems as being owned by root
Message-ID:  <AANLkTikaD2%2B%2BofXNzDNExO4LenKeAkEw_y6U89dY_Rke@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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--=A0 1 brodbd=A0 brodbd=A0 0 Aug 31 04:48 testfile
drwxr-xr-x=A0 2 brodbd=A0 brodbd=A0 2 Aug 31 04:48 testfs

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

The same sequence works as expected when the server runs OpenSolaris.
Am I missing something?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikaD2%2B%2BofXNzDNExO4LenKeAkEw_y6U89dY_Rke>