[nfsv4] Re: RFC: atomically acquiring some attributes for the posix-acls extension
Rick Macklem <rick.macklem@gmail.com> Fri, 09 August 2024 00:46 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 7587BC151535 for <nfsv4@ietfa.amsl.com>; Thu, 8 Aug 2024 17:46:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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, 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 upOzwJ-d4_hl for <nfsv4@ietfa.amsl.com>; Thu, 8 Aug 2024 17:46:18 -0700 (PDT)
Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) (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 9C275C15152F for <nfsv4@ietf.org>; Thu, 8 Aug 2024 17:46:18 -0700 (PDT)
Received: by mail-pj1-x1036.google.com with SMTP id 98e67ed59e1d1-2d1daa2577bso517940a91.2 for <nfsv4@ietf.org>; Thu, 08 Aug 2024 17:46:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723164378; x=1723769178; 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=ijfOiYlTtLX3Cj1o2YpnGVUidW6r+3dpXf85s4V97yo=; b=ckVprjEW5ZjvI1ghE6hnBRsIP/ZqydVHRgSaTJs2tHQ/nXOUOpv3JMPy6ziATNL5BK +JNaLM1HWe1eZz3WN0cAwtL/wm0uo93YGfnWdXB+sgYbMOiq4nqGHLN04zQyLEGw036M j8p7YokwlmVUu4qyvoAZGGSB3k+eOQhmvQl2BiNpeT0OyxVZaPI+hYvRZ163TEuTzJ4S a5aTdm3XpmcVLh8D6VJYqw/1/upw++0EkgXq3qCc3J5uWDGLVW3GuGJ/bdkku6kr7lC9 nEjJnZ/J/nnaduVx3+8HvfkF+wfF6/eLc7y9orvvSH/QlG6ixBJw1gRVbuSiG4Eq5OxE zm0g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723164378; x=1723769178; 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=ijfOiYlTtLX3Cj1o2YpnGVUidW6r+3dpXf85s4V97yo=; b=SPGrfEm2cnF/T1V22P7iZbWCcZqlYRRBERO8Yi7Ejizo5vEXme9souzPbAN0yNGpqs rOY93fcfTheTZawQEI3q4SRiNZxfYliSV76EJ49Z1CPXKvmY4rBCovunPk88KuyXvhjL kWN3a+OyINdrsOyGxPTDrjfPO3hm+igvLI4BtK2iNMXayL0PUysUBwLc8LLOTWL9Pfb1 gAWKC/BrCOCofPB58GPXrqyQR9fbwq/ykM3AzLJLaMuBEaMHOb8r1nJxxkbWEdiSg0uk 1FJJYHWY+QEo0ZKPsVw6NodtLNxvTrQnU250tP0cER0J3LCw0YukpeRJBEaqJUs3grOw TvmQ==
X-Gm-Message-State: AOJu0YzvBgc5wMrySWSgOTSZi0Js3lhvO/IuYx20zbSWkkrNQ/npVpJp FniGk6mJk4vJ77UfInqqQvXldjQI+NYqQcBxzkA6ImLLtQjT/6ilEuLoBP2GNsov6BzTTIXFhb/ Oq3ek4fcWqQGBEgv7JnyPQ4KUXn8gCH0=
X-Google-Smtp-Source: AGHT+IHl3cmHRUxy39eyNCx1hoipF+aS6XD/RJZ86gCbXyCMZfrxiafiucBWRIm5SB/ZCkjrKgRhmEc4bobQVTRamJc=
X-Received: by 2002:a17:90a:4d8e:b0:2c9:a151:44fb with SMTP id 98e67ed59e1d1-2d1c33dcbbemr4719271a91.22.1723164377457; Thu, 08 Aug 2024 17:46: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 17:46:06 -0700
Message-ID: <CAM5tNy5G1=f_J802J2sOuPTEwxgisOYQ2Uke0hi9ETpQtjpruw@mail.gmail.com>
To: Mark Liam Brown <brownmarkliam@gmail.com>
Content-Type: multipart/alternative; boundary="0000000000009bb76e061f3578d2"
Message-ID-Hash: ZWJ3Y2PQIZGVISFYYL7XC4KZ6UTBDYYY
X-Message-ID-Hash: ZWJ3Y2PQIZGVISFYYL7XC4KZ6UTBDYYY
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/dz4aS0vryhOcCHsaxVm6VHu9Qbc>
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 > The only thing I have been able to find related to why it was withdrawn is the following. https://unix.stackexchange.com/questions/489820/why-was-posix-1e-withdrawn/506641#506641 > 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. > > 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. > > 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