[nfsv4] Re: RFC: atomically acquiring some attributes for the posix-acls extension
Rick Macklem <rick.macklem@gmail.com> Thu, 08 August 2024 22:38 UTC
Return-Path: <rick.macklem@gmail.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BDBC9C1516F3 for <nfsv4@ietfa.amsl.com>; Thu, 8 Aug 2024 15:38:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.105
X-Spam-Level:
X-Spam-Status: No, score=-7.105 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V9xRNux7E795 for <nfsv4@ietfa.amsl.com>; Thu, 8 Aug 2024 15:38:17 -0700 (PDT)
Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DE923C15199B for <nfsv4@ietf.org>; Thu, 8 Aug 2024 15:38:17 -0700 (PDT)
Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1fd70ba6a15so13458485ad.0 for <nfsv4@ietf.org>; Thu, 08 Aug 2024 15:38:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723156697; x=1723761497; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=1Mh3N0R/bTaYZOUmmolAcRw5UCCG5pqKZD7FFPiKEjw=; b=lkrDSEfn02KkOzWqVQtVXrSneYpGLkryeoBcyLIEL05Culn3iEImeDpcYfx0sAxUd1 6tbWqVpcTVV1j5U4ys84mDoiNIjw6upOo+UiG8ZOZ6ANExBpguFzUFAFm52tmRJVwmJM CRKG/dQi++8T2jG5zH5O4zS7Px+3DJ3bTCyribrvss3HYAHqKfn/gdziNO/iUE98btDN hiXSK1Olghhr7WUPenWX4gF6UUlr/ybctTbPTu8godOl8189TAXqhco6NX6K1+IZ3BL3 2FFqIl7w7XHX77dhxiNVDWGNT1UP18AFINxIecT2EPTKWJAMOwY/LZEJY1ayHtM+aWAZ K9Tg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723156697; x=1723761497; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1Mh3N0R/bTaYZOUmmolAcRw5UCCG5pqKZD7FFPiKEjw=; b=f4OqeNK8aXg+K9mrJFx5UO7Vxrn10ci6280jhg/fl3Ol0efHP6ouN4w7sotUYisW0f qJrCY64WspX11oOp1p9rAUpxe3vSICgLWU0oxzsFlPPH1mmAeMCAI2NPyor1mJ74rYGW Yn2H6v2qrQ2xGagP26wOpP9q0qIxglMdoC2SBF22Lw51g5Q0Fm0LOcI6yPhDk1L/pPTE NXz6Q04UnxyC/XmPQtmrNxkwHdEpF/6Q/AU+4EJKKanN7XfYYTaqzPIV9Mj5sX7sr1Yq HkS0ft/3gpuzps3Q0r7tPx/HOJ+3h8ZkwTemVjdoNys5Vx9D4o4dXv/rqTM9GuZfVDzz hfAA==
X-Gm-Message-State: AOJu0Yx6CXErdmy8laM7Rcc7dR4uwvAIiKPYxRe7QWy1PRVoyx4FTVa1 JZBx99/G45fIGkDKcBOBApTyyJShMx8/uI3itTS2KQa9PHNK/lfNk7nSGqtcnQDnBs9DbcLRQy/ A+Z8kc3gHjQ5sUY+JUsz+A+f8dw==
X-Google-Smtp-Source: AGHT+IFcPADQVBEX5a/J1H38O6eUl7PulQuWMjd0t5MLr0dSaGAsQyjP/VIe7KqnShYomPkAERBbQ/JEK47a/2m2lkg=
X-Received: by 2002:a17:902:eccf:b0:1fa:7e0:d69a with SMTP id d9443c01a7336-200952cdfdemr29457265ad.46.1723156697000; Thu, 08 Aug 2024 15:38:17 -0700 (PDT)
MIME-Version: 1.0
References: <CAM5tNy5OHG2qjtuZeuK2ZYtrKbrOq_wmYFwRHBcdm7PSH7s3qA@mail.gmail.com> <CAN0SSYy7qQ=Ndk1+GxpAfYzSSe2xRQ8rhjj9Wu=0qXYYe-qjFQ@mail.gmail.com>
In-Reply-To: <CAN0SSYy7qQ=Ndk1+GxpAfYzSSe2xRQ8rhjj9Wu=0qXYYe-qjFQ@mail.gmail.com>
From: Rick Macklem <rick.macklem@gmail.com>
Date: Thu, 08 Aug 2024 15:38:05 -0700
Message-ID: <CAM5tNy6qMHpeuC5b16PN6XszfO16zZd8D=tf_vt8cP41omBJkg@mail.gmail.com>
To: Mark Liam Brown <brownmarkliam@gmail.com>
Content-Type: multipart/alternative; boundary="000000000000d137b2061f33aec6"
Message-ID-Hash: ANDBMIQ3KE7TQWGLAQOOICQU6IZIHRYJ
X-Message-ID-Hash: ANDBMIQ3KE7TQWGLAQOOICQU6IZIHRYJ
X-MailFrom: rick.macklem@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-nfsv4.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: NFSv4 <nfsv4@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [nfsv4] Re: RFC: atomically acquiring some attributes for the posix-acls extension
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/2GrlanfYUaisKWcKCGTNAjdooZg>
List-Archive: <https://mailarchive.ietf.org/arch/browse/nfsv4>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Owner: <mailto:nfsv4-owner@ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Subscribe: <mailto:nfsv4-join@ietf.org>
List-Unsubscribe: <mailto:nfsv4-leave@ietf.org>
On Thu, Aug 8, 2024 at 2:52 PM Mark Liam Brown <brownmarkliam@gmail.com> wrote: > On Thu, Aug 8, 2024 at 10:15 PM Rick Macklem <rick.macklem@gmail.com> > wrote: > > > > Hi, > > > > As some will already know, I am working on a draft that > > proposes an extension to 4.2 related to POSIX ACLs which > > adds 4 new attributes. > > > > I have run into a case where specifying the GETATTR return > > some ACL related attributes "atomically". By atomically, I > > mean that no SETATTR by another client is permitted to change > > any on the attributes during the GETATTR. > > > > Some background: > > true form - Is the kind of ACL stored on the file object and > > used for access permissions. A new attribute called > > acl_trueform indicates what the true form is. > > It can be ACL_MODEL_NFS4, ACL_MODEL_POSIX_DRAFT or > > ACL_MODEL_NONE. > > Stop. > > 1. POSIX.1e has been withdrawn, including POSIX.1e ACLs. One of the > reasons were security issues > I have not heard comments w.r.t. security issues for POSIX 1003.1e draft 17 ACLs. Yes, the draft was withdrawn, but it covered a lot of other things and not just ACLs. Linux, FreeBSD, Solaris and IBM's GPFS have adopted them, although some of these also support NFSv4 ACLs. > 2. POSIX.1e ACLs are only usable on Linux or POSIX-like platforms. > They are INCOMPATIBLE to Windows, ZFS and NFSv4 ACLs, and there are no > proper or safe translations between them - you lose information when > going from NFSv4, ZFS or Windows ACLs, and the reverse translation > either causes inaccessible files if the translation is too > restrictive, or opens gaping security holes if the translations allows > more than the admin intended. > You might want to read the draft. https://datatracker.ietf.org/doc/draft-rmacklem-nfsv4-posix-acls/ The idea behind the draft is to avoid the translations (I tend to call mapping.) > Better would be for Linux finally to adopt NFSv4/ZFS-style ACLs, and > not cause security nightmares via grafting defunct POSIX.1e ACLs onto > everything. > Well, I'm the FreeBSD NFS guy, so I wouldn't argue with you. However, my impression is that Linux (and some others) are going to use POSIX draft ACLs for a long time? rick > > Mark > -- > IT Infrastructure Consultant > Windows, Linux >
- [nfsv4] RFC: atomically acquiring some attributes… Rick Macklem
- [nfsv4] Re: RFC: atomically acquiring some attrib… Mark Liam Brown
- [nfsv4] Re: RFC: atomically acquiring some attrib… Rick Macklem
- [nfsv4] Re: RFC: atomically acquiring some attrib… David Noveck
- [nfsv4] Re: RFC: atomically acquiring some attrib… Rick Macklem
- [nfsv4] Re: RFC: atomically acquiring some attrib… David Noveck