🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#79
From: Rick Macklem
Date: Mon, 02 Nov 2026 20:44
56 lines
7988 bytes
On Mon, Nov 2, 2026 at 11:01 AM Joshuah Hurst <joshhurst@gmail.com> wrote:
>
> 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?
Well, if I understand it correctly (and I may not since I am not an ACL expert),
all the server side needs is that flags field, which I think can be implemented
as a system space extended attribute.

I might get around to doing this in the next year, in time for FreeBSD-16,
but no guarantees. (I think that might be enough to make the Windows
client happy?)

The client side for FreeBSD..I have no idea what needs to be done to
make automatic
inheritance work and have no interest in figuring out how to do it.
--> In other words, for this to happen, someone else needs to figure it
     out and come up with patches.

rick

>
> 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: <CAM5tNy5SkZsO5meJVVC2wfu767f3cJ+ZyHbTceik1Z8XL59s2A@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: <> <CAEEMktOOLS1CgexgVT8bZ8p_8_YQ9tFPEnjBRk9QzfmQ7-911A@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: Rick Macklem <rick.macklem@gmail.com>
Newsgroups: muc.lists.freebsd.hackers
Subject: Re: ZFS ACL suggestion for NFS exports valid for FreeBSD?
Date: Mon, 2 Nov 2026 13:44:57 -0700
Organization: Newsgate at muc.de e.V.
Sender: owner-freebsd-hackers@FreeBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <CAM5tNy5SkZsO5meJVVC2wfu767f3cJ+ZyHbTceik1Z8XL59s2A@mail.gmail.com>
References: <> <CAEEMktOOLS1CgexgVT8bZ8p_8_YQ9tFPEnjBRk9QzfmQ7-911A@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="64492"; mail-complaints-to="news-admin@muc.de"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1793652318; h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc: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=mL2bt2ARPURnEN55kUmv0RhcNfX6Uqxk6sqKCXmD7+E=;
	b=roxXhqeNml17RVaG3B7pZaQyxNHigOnZ9exE6KxKaG9dQ/piIwXAmbtqThI959IJI+TUfi
	ZAzrP9j36uqQn2jhDiE0a0Zq+rUlVi23vJHxb+abpId87YNVJjyNytTN5qr3ZoVvIcwety
	L55sOecKvDPq7mNLLFzyk8t1M5ptHOq+bsm+Obocui8M7PcziRVcy9a8JW+Kadwl/G5E1q
	kNIh7PYurHx+7D5DN5wtKnRwLikZQuwSXy0rY7mxnjFsFuEh7FP867qBcSUfy6MXEPpdKy
	IeuvKhQz2ILrIGlb/PRttpxxR8II2rjGvCFeG8vWsVoFdHhdGdXG9b6U0/9wJQ==
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=uaRaqrGP;
	spf=pass (mx1.freebsd.org: domain of rick.macklem@gmail.com designates 2a00:1450:4864:20::631 as permitted sender) smtp.mailfrom=rick.macklem@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=1793652312; x=1794257112; darn=freebsd.org;
        h=content-transfer-encoding:content-type:cc:to:subject:message-id
         :date:from:in-reply-to:references:mime-version:from:to:cc:subject
         :date:message-id:reply-to:content-type;
        bh=mL2bt2ARPURnEN55kUmv0RhcNfX6Uqxk6sqKCXmD7+E=;
        b=uaRaqrGPK3WmaYHhGUkrRsv98mWs3Rf8xxIA6E2zx1ev/EKbhXhQML3F7OWDGGjbHU
         UVAVnERaekUYHOCsaRcInPjKweEjHWCxgR/gK+swuhEid/DNuktgYnjo18zFL09ZK2K0
         1wGSvlPK1PEoqi91ntl8/IFGOeils1RlNiKCDQWRPYNeD3kg2cIqNitA8fesOwdl32C1
         S/HKuhPmimFATZxF9Q+OSScWXys4Hw1uCUsknrTHg2JgQudI1uZvEfT862B79EYlHKY1
         h5m7V8Jpnkxo6gcfXujfToV/P2/qpYgoQiFHDOxjZbtVdOGTZYRF9gXnrIM3kSb6eDEg
         vtYg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1793652312; x=1794257112;
        h=content-transfer-encoding:content-type:cc: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=mL2bt2ARPURnEN55kUmv0RhcNfX6Uqxk6sqKCXmD7+E=;
        b=AXsskyDgwKEs9eb8WUGSEARxUcuEvjUIcmFVZNdYSmJkdWYq618NioJeVI6VzukRiW
         hMcha5wD8xgKZ6pmZLNOHcFGWq830PYkDoHU2MEpMqH82ZO6qeYFt7idWyKJ+CQyTd+G
         3iMMWk3zSuCoYXE4Vc235qNqiY1lopYyUfSswF44FkUEjQ/JuymLgHpUkJ57b5Ldi7PC
         Tqxodmu99VnNK95UcAHaVMy1WZ2dPnT2eznqdOR+hg/J8AbaFcsGFrsF8nnbBpvV0Fm4
         7q6aoNFuYC67B8SSyRIxe6D3oU7HVr58hTolx574zVdkiC+bL0QbQ9NNSZLHJ8fnUINQ
         HTAw==
X-Gm-Message-State: APuU4Z9tNG5PkiowGfXWkDGL2NIP6ZM98rjmLpc0DDYD8OrrBDafDpC9
	tVojK1SyMQFjsRFBcrSf74eyK8j2pSEUNLTcoRMywdKGNuXnBf5QlyhHcuV/K1Rul4ESKmrbd/S
	BbckrmD/LLgi/JkqW1L9kQHyo353syjN3
X-Gm-Gg: AYBFou3avl09gDyqGrGVSkiBBWEWNVzDoncxVS0+WSPlNjolL8IsvXJp/7At/qnIf1E
	gQcsFPmgyIAaOJp74v6uMwl4QxGL3CusyvyH1plI5U+Of7P32Af8sQee/Ky84ohvKs2VV/C7kt5
	c3iIYm0ow8s1D7SvlEqNenYjGzXTIRvjPhFTuYsCdjADcahQxG8gkYDSI87TtQnPdL6M3AiRFMP
	xXTIT++AMmQj3xS68fZUrXxSo8u7MOdyp6snmnrKTkUIiZdxmBVowO/KzhwMLo49vEI3tKeSPUR
	9mK19JMAi/a1A3wCPYEB3zuNA0jeZmeTgXO7E+sHUxkmUVS1UbfM5YcgTrnGSXGzaukL5j9LbWZ
	uFLUo2IUILDIGe7qfFW3PVls43CGNxJeYufBaAgrIxdKeMvqHJk2VQ1jEY4WRL+uuU2wj
Precedence: list
In-Reply-To: <CAEEMktOOLS1CgexgVT8bZ8p_8_YQ9tFPEnjBRk9QzfmQ7-911A@mail.gmail.com>
X-Gm-Features: AclHuK9H7C14GEfVpJfDIQmpJewcgdhOBWCVYweRNCPaLNpYx5autJ-bVWwnWxU
X-Rspamd-Queue-Id: 4jJNxk71vFz4n9F
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_DKIM_ALLOW(-0.20)[gmail.com:s=20260707];
	R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4864::/56:c];
	MIME_GOOD(-0.10)[text/plain];
	TO_DN_ALL(0.00)[];
	RCVD_TLS_LAST(0.00)[];
	FROM_HAS_DN(0.00)[];
	FREEMAIL_TO(0.00)[gmail.com];
	FREEMAIL_ENVFROM(0.00)[gmail.com];
	RCPT_COUNT_TWO(0.00)[2];
	FREEMAIL_FROM(0.00)[gmail.com];
	MIME_TRACE(0.00)[0:+];
	DKIM_TRACE(0.00)[gmail.com:+];
	RCVD_COUNT_ONE(0.00)[1];
	RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::631:from];
	PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org];
	TO_MATCH_ENVRCPT_SOME(0.00)[];
	FROM_EQ_ENVFROM(0.00)[];
	MISSING_XM_UA(0.00)[];
	ALIAS_RESOLVED(0.00)[];
	MID_RHS_MATCH_FROMTLD(0.00)[];
	MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org];
	ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US];
	DWL_DNSWL_NONE(0.00)[gmail.com:dkim]
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes