Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp773319rdg; Wed, 11 Oct 2023 05:19:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGbs4DVS7eJkooppO3UEpQdNSr/AbuhAn4BqLZBOXU48zCmUHN4xUXqH02OA2f7PuuFilEv X-Received: by 2002:a05:6a20:551d:b0:161:7a0c:3c38 with SMTP id ko29-20020a056a20551d00b001617a0c3c38mr16095774pzb.32.1697026785933; Wed, 11 Oct 2023 05:19:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697026785; cv=none; d=google.com; s=arc-20160816; b=Zy0KD6wqZXOVPp3xbptwaGVUgvgPYVZo2XEAaU8dv8Mi7sRDUjmIU1WSAxtBTfKqAK byHbUEjeauaeINFd8zm3d/fM+bI07t7xUh9xukpMombuUUsKFmdDXJXIot4/4WPXDZG3 bK4Sb7PAY1jHy8PvudjB33hp9/gHfVG1bCbd8C/H9p00nwSvsdwxgt5oHhm5ttVkG5Lb LXwNkwJgS2mz8I5NHBfucsPqGHWD+F9sTMYfSyJz4nD07o3VN6ueoapPAXUqKRhSGUE9 Gl0psGYFeaKCQcq33NWi77YiD0DQJflS5f3DrCDXh8QTe62Rn/r+0dgKY8IuKYGyE2JT QitQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=5NVfn9PXw+Xc7MOe9fBZyAc2Mg1C5gfNmbgZDWe8PI8=; fh=Kdk1kapUfsDLjd4M8RHP1Lz2aGDs2OrVms5wXqwdo0o=; b=wG7i9H9ZpWNNt1Jnf8WCj0CnS/EZ4iVcUUA9eDqqLuin1VkvDfWtKz2UUTuK7mQpZm cZEl7VsfJLfeepRkF9P1O4nX0qWJXS+ZT6zJhDa1V0AL5V5j7HIiTYGsf8oIYeZrHkNg EGuznz975xJnA0n/0y1X1LhaxFAxumtsyCfjsI1RGa+Mxujco1O1y4o3mqNIoyh5gXrG KtNU30qEqq1bUVtaFDXO2axTE97NTAy+5Pftxf1M6q4n6DnMsI1Xz3MIum7bZiXWfXqH mLKZ6bH95Qu7oLkuVFEHdVB222eGywk6H20DokUW/i3qIjB1PYXEAqxsgyM4iHLcVG4H 9Qtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ionos.com header.s=google header.b=VGX47blj; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ionos.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id x5-20020a654145000000b005852e1932fesi13837310pgp.456.2023.10.11.05.19.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 05:19:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@ionos.com header.s=google header.b=VGX47blj; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ionos.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 44C9181BEEB6; Wed, 11 Oct 2023 05:19:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234766AbjJKMTj (ORCPT + 99 others); Wed, 11 Oct 2023 08:19:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346785AbjJKMTD (ORCPT ); Wed, 11 Oct 2023 08:19:03 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CC33DD for ; Wed, 11 Oct 2023 05:18:58 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2bffa8578feso84286371fa.2 for ; Wed, 11 Oct 2023 05:18:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ionos.com; s=google; t=1697026736; x=1697631536; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=5NVfn9PXw+Xc7MOe9fBZyAc2Mg1C5gfNmbgZDWe8PI8=; b=VGX47blj49EGrJ3Z5hHasUthk7DzLZsCCfk4YiMoEI87jCFY+FmJatANiEvjbBy9Tm GvLX6PdMgj9ca3VQPHysOOoQgJemxewJlrWkI3KrnNYZ2T631HHURKz04nHAjUiWSRd3 6JSf11rQkI0jIzjQEENUe4Hhy/yis8tPBXXvmmoh+hAGH6I4lK5K/6RDFFqMjAK0iwIz oruZ1zA6IdJi0BZPLjWlrHZznIKHfLGtdSpgzGv+qw2ZehUV8xk+xtriqlU/S520lybN 5Kv6GmahJdsu8vOvANa+mszqLW5k5ti17nyP+ACw1DQdLAAPsuUdO1DtKJsg/qo5bWPQ yUFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697026736; x=1697631536; h=content-transfer-encoding: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=5NVfn9PXw+Xc7MOe9fBZyAc2Mg1C5gfNmbgZDWe8PI8=; b=aG3pysbqy2s1a5u0kue5PLjr8aJ7voF8Wp2kFRc/Ecyb6+McmHzPTqJN8dGxSt4G7k feLHL/y7m/fKpmKd4TG9K8MfZC9HbG6K6J/KlGa5d7h44YlFsVVOoToMPj4yzqbk9EJ8 ScQ00xFzZqdDbJGSribErL7lFG98Qd8YKd/F6zA90SCa1LY2pM/tA1rh32rSpEt5S44Y XnryHLhAKEwiw7iBx57ZAN17D+DKnCoyvNAbijovufexbnoMG9dSYabP2eBwpknElfq9 K5A8MDXfriIYZE9gP2uR9XAmq80K2OZT6M6Eo3I8Eac/F6thriS6/i4r+ZV9MS0gu0SS Cduw== X-Gm-Message-State: AOJu0YxPz5yXaiLqcjzjIvoIB0hcaXnCM2Nbkqs2XE2phLw7cz3Ygpvq 5GOdwd0U9pIKXBtQ3wO4x3MuYdjnrnDSFhPB4fNtQjPKFJwT2SAS X-Received: by 2002:a2e:93c5:0:b0:2bf:f3a0:2f9f with SMTP id p5-20020a2e93c5000000b002bff3a02f9fmr15021916ljh.4.1697026736637; Wed, 11 Oct 2023 05:18:56 -0700 (PDT) MIME-Version: 1.0 References: <69dda7be-d7c8-401f-89f3-7a5ca5550e2f@oracle.com> <20231009144340.418904-1-max.kellermann@ionos.com> <20231010131125.3uyfkqbcetfcqsve@quack3> <20231011100541.sfn3prgtmp7hk2oj@quack3> <20231011120655.ndb7bfasptjym3wl@quack3> In-Reply-To: <20231011120655.ndb7bfasptjym3wl@quack3> From: Max Kellermann Date: Wed, 11 Oct 2023 14:18:45 +0200 Message-ID: Subject: Re: [PATCH v2] fs/{posix_acl,ext2,jfs,ceph}: apply umask if ACL support is disabled To: Jan Kara Cc: Xiubo Li , Ilya Dryomov , Jeff Layton , Jan Kara , Dave Kleikamp , ceph-devel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-ext4@vger.kernel.org, jfs-discussion@lists.sourceforge.net, Christian Brauner , Yang Xu , linux-fsdevel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 11 Oct 2023 05:19:44 -0700 (PDT) On Wed, Oct 11, 2023 at 2:07=E2=80=AFPM Jan Kara wrote: > Indeed, *that* looks like a bug. Good spotting! I'd say posix_acl_create(= ) > defined in include/linux/posix_acl.h for the !CONFIG_FS_POSIX_ACL case > should be stripping mode using umask. Care to send a patch for this? You mean like the patch you're commenting on right now? ;-) But without the other filesystems. I'll resend it with just the posix_acl.h hunk.