🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.hackers
Article #73

Re: ZFS ACL suggestion for NFS exports valid for FreeBSD?

#73
From: Joshuah Hurst
Date: Mon, 02 Nov 2026 18:00
34 lines
7093 bytes
On Wed, Sep 10, 2025 at 11:46 PM Rick Macklem <rick.macklem@gmail.com> wrote:
>
> On Wed, Sep 10, 2025 at 12:39 PM Joshuah Hurst <joshhurst@gmail.com> wrote:
> >
> > We have these two suggestions for NFS exports (NFSv4, NFSv4.1) in our
> > guidelines:
> >
> > zfs set aclmode=passthrough rpool/nfsexport
> > zfs set aclinherit=passthrough rpool/nfsexport
> >
> > I this still needed for FreeBSD ZFS pools being exported via NFSv4.1,
> > so that ACL inheritance works as expected?
> I have no idea. What client(s) are you using?
>
> All I can tell you is that the FreeBSD NFSv4.1/4.2 server does not
> support the "dacl" attribute, because it requires that a flag called
> na41_flag be stored for each file object and that is not currently
> done in FreeBSD. (This is related to "automatic inheritance",
> in case that is what you are referring to?)

I did some investigation in this matter, and I believe what is needed
is FATTR4_DACL support in both FreeBSD NFS server and NFS client.

Is there already an enhancement request at bugs.freebsd.org to get
FATTR4_DACL for propper "automatic inheritance" with NFSv4.1 on ZFS?

Josh


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <CAEEMktOOLS1CgexgVT8bZ8p_8_YQ9tFPEnjBRk9QzfmQ7-911A@mail.gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <> <CAM5tNy5CF=A+4mqjgbp7xc_5hVy4myrRghPN1WhNpd+MmLa3sw@mail.gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: Joshuah Hurst <joshhurst@gmail.com>
Newsgroups: muc.lists.freebsd.hackers
Subject: Re: ZFS ACL suggestion for NFS exports valid for FreeBSD?
Date: Mon, 2 Nov 2026 19:00:28 +0100
Organization: Newsgate at muc.de e.V.
Sender: owner-freebsd-hackers@FreeBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <CAEEMktOOLS1CgexgVT8bZ8p_8_YQ9tFPEnjBRk9QzfmQ7-911A@mail.gmail.com>
References: <> <CAM5tNy5CF=A+4mqjgbp7xc_5hVy4myrRghPN1WhNpd+MmLa3sw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="47274"; mail-complaints-to="news-admin@muc.de"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1793642468; h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:mime-version:mime-version:
	 content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references:list-id:list-help:
	 list-owner:list-unsubscribe:list-subscribe:list-post;
	bh=hDHCjDIxC8FGZ5Jj83lcy/fHUaWVNQzI2xRxTS7cwbY=;
	b=yvkNvz+hPsQDPQEBeAgcFYv0Ggd+/yqds5g+IId7Kkp9ooo/OKKwg5J8sZbyEGE3d2BYCr
	3/NjREK1X4DJw/QQ0mJ6Z3MSwKK+VBXdmtqREJXCR80zxymUB3UBTZKrovdB1k1i1cGeTc
	+UgVhLW+VAryK02CFBD05s5z14p9ggLFOH3BPjQpRGwMC98y7AaTuZ9BcGnrW4I6lCr2x6
	mypVApTWh0KTBBJn8a4zHPSlgw2GMdLNKSI8YpjRxqjRh/SohsL5F/lM8EoW5lS8b2D0oW
	3lgl3J6ZSvuNNjAKF7RxANMEU82Br/mQOB0cg6Vak+VSUUXjO3UebvUT+hLj3A==
X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org
Authentication-Results: mx1.freebsd.org;
	dkim=pass header.d=gmail.com header.s=20260707 header.b=uFaR9eFH;
	spf=pass (mx1.freebsd.org: domain of joshhurst@gmail.com designates 2607:f8b0:4864:20::72a as permitted sender) smtp.mailfrom=joshhurst@gmail.com;
	dmarc=pass (policy=none) header.from=gmail.com;
	arc=pass ("google.com:s=arc-20260327:i=1")
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20260707; t=1793642465; x=1794247265; darn=freebsd.org;
        h=content-transfer-encoding:content-type:to:subject:message-id:date
         :from:in-reply-to:references:mime-version:from:to:cc:subject:date
         :message-id:reply-to:content-type;
        bh=hDHCjDIxC8FGZ5Jj83lcy/fHUaWVNQzI2xRxTS7cwbY=;
        b=uFaR9eFHCvpdj5ektK338U8A482CAt0vVKbCEdV4G2X7AR3VwmAtf30XQcnjLB8VeW
         g1RlRsq54iLmN9rxpk+0yBzakxTtww8Q4RK0kDemNUesKCsQpCuOkrILvE/knR3IEpGF
         MR7+Id30OQVCLvJ1z8Fwy93k9xjRpED4F02UL0gM9PZGtqw8qzWlo0HaIOqX3bf5Q+/O
         M3A+AHSscYFfLdWOBtGVe7wWXeL91/lPE+3FPZv8klpNc/McJq/B71Wfcfbdnc0IM0Yw
         YUzDoP7xRz1ezSBL4StTqE/BhdDsrMaM0MWvR7wNEHlC0AlN+GLGuuRxPYiqpUetPoPB
         8npQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1793642465; x=1794247265;
        h=content-transfer-encoding:content-type:to:subject:message-id:date
         :from:in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state
         :from:to:cc:subject:date:message-id:reply-to:content-type;
        bh=hDHCjDIxC8FGZ5Jj83lcy/fHUaWVNQzI2xRxTS7cwbY=;
        b=inqtr4E8RXuPURXNeb7DuXjJWnYdER4wW2z9D2RVdif6ocjlU6UMAlhB9cHaLFp6KY
         bLQLDS3/yrvhJuCxXkoUUuqwMrHrAPD9jXLOrTXT9GDIY+z8GYybCLAPvxmd5pnZA4zL
         Cp17ELX6Ot7m1DOASOVxyGgLLnwWsnWRxDw/fPERkB6qSYbmpGxJ7JRp+A1raf1wJVAT
         CnxvGmXDmiGt5M8dLrfxxLoQ+/Efi/GVKxWpJtv3H2ILNN/yJOFbYcq3iEc+8yEAnziR
         fonQ/hnU0+Z0dOzbgCqa6WSog6K10O3/9/9M5ZuYwjzn4dsZ0D/8Jg+7cyV/M9KSZk6Y
         uinA==
X-Gm-Message-State: AFq9FYJYIVNCxmdjkAJgDndqCYvW6p7Cub1WsI/3DxlxzS4/HFVfk6SG
	hmnrMCnkThphevUAhv6Iw1ICnJvJAe4r23aI+Kn1KZNJ+cNIMiGmRqwjuEOlQsbFxEMBMu+BPcC
	aYtL/4FBXx7Ygkufce7yrnQLtd2e6iMEq8tYrZuKlxUXmCWM=
X-Gm-Gg: AYBFou1wS7ASzSpItkocmnCKOn6Xw2LkzurrxRPW/TNYcHOKOXEfADl+jgBobtNq6Hr
	z4PpQgwZXtF9Airvb0S0gFFV/GTpcPUe3bGAZc7YPGmSb93dS2pqQBpIAcS1KnQLSmuMWI6QF9U
	MtYl590gwIRszWhQeAkAuyjLnQl990ezgQxx8tkbOflcByozPBj9JgzvxKt73HDsgrFZK7OVLjS
	BHUUWjQVcKZy1TgtOW8hZyJAS2pAnkZhbaZzwIhaGD5lJoYvYPPkDWwsYitainzD0w9B6B3ixuF
	M2WNDAsS6PJPsKTbzl0y+yvlNdnuJSeXROkhsyS+GZRbtT84Pgdy/vbDtXe7EJb0J/BKRt2l7bY
	3byiXnDZm2UrNU1iJQcmuLbZDyVVWNkj9ncz9
Precedence: list
In-Reply-To: <CAM5tNy5CF=A+4mqjgbp7xc_5hVy4myrRghPN1WhNpd+MmLa3sw@mail.gmail.com>
X-Gm-Features: AclHuK_qnFrsrwaRMSvFYRh2XMnMx4dDbpGR6JJFk6vCHEtitz5YHVEWsBa4ELM
X-Rspamd-Queue-Id: 4jJKJL3Mwtz3KWq
X-Spamd-Bar: /
X-Spamd-Result: default: False [-1.00 / 15.00];
	ARC_ALLOW(-1.00)[google.com:s=arc-20260327:i=1];
	SUBJECT_ENDS_QUESTION(1.00)[];
	DMARC_POLICY_ALLOW(-0.50)[gmail.com,none];
	R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4864::/56:c];
	R_DKIM_ALLOW(-0.20)[gmail.com:s=20260707];
	MIME_GOOD(-0.10)[text/plain];
	RCVD_COUNT_ONE(0.00)[1];
	ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US];
	MIME_TRACE(0.00)[0:+];
	FREEMAIL_FROM(0.00)[gmail.com];
	MISSING_XM_UA(0.00)[];
	DWL_DNSWL_NONE(0.00)[gmail.com:dkim];
	FREEMAIL_ENVFROM(0.00)[gmail.com];
	RCPT_COUNT_ONE(0.00)[1];
	RCVD_TLS_LAST(0.00)[];
	RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::72a:from];
	FROM_EQ_ENVFROM(0.00)[];
	FROM_HAS_DN(0.00)[];
	MID_RHS_MATCH_FROMTLD(0.00)[];
	TO_MATCH_ENVRCPT_ALL(0.00)[];
	TO_DN_ALL(0.00)[];
	PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org];
	MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org];
	DKIM_TRACE(0.00)[gmail.com:+]
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes