Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Dec 2010 17:59:54 -0500
From:      Joe Auty <>
Subject:   Re: Migrating from NFSv3 to v4 - NFSv4 ACL/permission confusion
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Edward Tomasz Napiera=C5=82a wrote:
> Wiadomo=C5=9B=C4=87 napisana przez Joe Auty w dniu 2010-12-06, o godz. =
>> Rick Macklem wrote:
>>>> Hello,
>>>> This is possibly a more fundamental non-FreeBSD specific set of
>>>> questions, but ultimately this is relevant to usage on FreeBSD, so..=
>>>> I'm fairly certain that NFSv4 is supported under Solaris 10/ZFS and
>>>> FreeBSD/ZFS via the standard "share" binary or the sharenfs ZFS
>>>> property, right?
>>>> In mounting an NFS share on my FreeBSD test machine via the followin=
>>>> mount -t nfs -o rw,nfsv4 ipaddress:/share /path/to/share/directory
>>>> I'm unable to change the permissions of any of these files via a
>>>> standard chmod on the client (FreeBSD) side. What are NFSv4 ACLs, an=
>>>> is
>>>> this in any way relevant to my problem here? Do ACLs need to be set =
>>>> order to use a volume like I can an NFSv3 volume, which works just
>>>> fine
>>>> for me?
>>> It might be worth capturing packets "tcpdump -s 0 -w xxx host <server=
>>> while trying a "chmod" and seeing what goes over the wire. You can lo=
>>> at it via wireshark or email me "xxx" and I can take a look.
>>> I don't know anything about ZFS, but you could try getfacl/setfacl on=
>>> client and see what happens?
>>> Edward Napierala ( did commit a recent change w.r.t=
>>> NFSv4 ACLs and I remember the discussion saying something like "after
>>> this change, chmod no longer does anything once ACLs are enabled, but=
>>> have no idea if it is relevant.
>>> Also, make sure "ls -l" is not reporting "nobody". If the user/group
>>> name mapping isn't working, most Setattr Ops will fail.
>> Okay,
>> Here is my dump command... The NFS host is
>> # tcpdump -s 0 -w dumpfile.txt host
>> tcpdump: listening on em0, link-type EN10MB (Ethernet), capture size
>> 65535 bytes
> Looks like the mailing list ate the attachment.
Nope... The dump file is empty so I didn't bother with it.

Well, it contains "######", but that's probably not terribly useful :)

> --
> If you cut off my head, what would I say?  Me and my head, or me and my=

Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks. <>; <>

Want to link to this message? Use this URL: <>