Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp573313lqi; Thu, 7 Mar 2024 06:01:16 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW9jlZqtIpXHUoXEuso+eiFCaPMGsxVHwdeWS/umK3lmY5C9dDUEAveebyYMQlW6N2MiMLtbuj+a4V8da9TRmkGaPc04E26e8gNN1Nejg== X-Google-Smtp-Source: AGHT+IHgJbglF2SKiS4o5vzFbjJVDQBsd9KH76JQGhMbJK/dNuypNMQwguAFz9r9zyJbZj8rxoeT X-Received: by 2002:a05:6602:3044:b0:7c8:d01:4776 with SMTP id p4-20020a056602304400b007c80d014776mr16372130ioy.21.1709820076131; Thu, 07 Mar 2024 06:01:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709820076; cv=pass; d=google.com; s=arc-20160816; b=npyA82doESkgutxmYMQZWh9mr/b+j9/+ufu2I7BKwkeh/eggeSXAjxn2DgbAu/Vzaj OInVslM3xld/Iz+3QrdAwAgpzps1NXGL69LFmWbKi16LdftedbZzmTwmdWJWhdgjwSP5 rOs4Toe+mdLZCjx6XSWdSsBJ1PCCNpbBB3D92evjHUREuGKkGl62hITPUb9ryKk53/1D 3WJH8D2shShfeMUJZ33TEUOlNkC2rGjX0M7MrpOtOdTParQoGUDOpvRVpkMrgTsRhzlp 3v17ctWIHtQG6ri8IIFAr1Ie5L+ssZufko1gOV8AySqvBHcWBvSvVCW5c2wOGAg9f+r4 Xluw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=thread-index:thread-topic:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:references:in-reply-to :message-id:cc:to:from:date:dkim-signature:dkim-filter; bh=YGl0pyZrSuXSE/Yu0rx35vaoANzLmGb397QuS+yCdkE=; fh=sNPrBjA++yHSLwvfVTpITizLEq/w9O7gi5qJ/WgO1Ko=; b=jCPNUd7gCZXJ5eGKsZyb2E8y/ItlVV6Da9YuBPiHVpvRoYtWJ/I08Kbxj0LwdIPefS qFTPBOttvOkbsUnvb/Uig8G7+c07XLcW/xSvd3t0miKCaeVPrzVjWDLIlR5uORFz+deF 4cVYTxC5ydDKdB9O/8d2I3ZOVOLgqknB86lWsQq8yfHEJbljXpb6VVwdY8bzmvcfbZVh qvVlSb7rKfVFhfNwutBhuxOg3EEK+1GrzuH9ZXNF/CUVSEJ6P4AVNBnypCNJxqitslIF wbe25if3ePgcHV2ZpCHtr0li7HtLMSdoERdP6aSeDMLU/Tjzr5AEiq0VQVsOjF0RFYvb WOow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@desy.de header.s=default header.b=kUQxHFDI; arc=pass (i=1 spf=pass spfdomain=desy.de dkim=pass dkdomain=desy.de dmarc=pass fromdomain=desy.de); spf=pass (google.com: domain of linux-nfs+bounces-2231-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-2231-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=desy.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id r8-20020a02c848000000b00474e4fcf6e5si3683398jao.194.2024.03.07.06.01.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 06:01:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-2231-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@desy.de header.s=default header.b=kUQxHFDI; arc=pass (i=1 spf=pass spfdomain=desy.de dkim=pass dkdomain=desy.de dmarc=pass fromdomain=desy.de); spf=pass (google.com: domain of linux-nfs+bounces-2231-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-2231-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=desy.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0A69928A474 for ; Thu, 7 Mar 2024 13:50:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 43B8412CDBE; Thu, 7 Mar 2024 13:48:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=desy.de header.i=@desy.de header.b="kUQxHFDI" X-Original-To: linux-nfs@vger.kernel.org Received: from smtp-o-3.desy.de (smtp-o-3.desy.de [131.169.56.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5294412AAFD for ; Thu, 7 Mar 2024 13:48:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=131.169.56.156 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709819288; cv=none; b=g2YOkMpYjkxXQZczdJJcsIg9MBRXYqDVQL6pRE4vbSg18gQNUIZf3zJtbwnuRm9g0wWcY9k3vSuq4Q37MuiIgnayqBSw3t4C6zb+NFQkG5237bh8jdZlCl8vR5vufXWFj5/3hLt2223GTrPCrp3tczlCPtI/C1DGx1zCQdWVOwc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709819288; c=relaxed/simple; bh=vqidyJ974PD8NUygnZb3BcLqM+hLo/Pkpkn/fNRc5Fc=; h=Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject: MIME-Version:Content-Type; b=QJbaJDSFGAkrxKOgcurn2bw0JGF2sMNc7yS8pyHgnhVU8y3RSbe1LEU1yhVODjHTNt4Y5A8h3YFv23vwpxRwaHS/8GuqT8nWTRAtMFgetcM4S6+OmegdBHGFgur62/vIu2b26BmaNjZJJieaqAFp5QpB+44jkZ6OwQlRkrnZboA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=desy.de; spf=pass smtp.mailfrom=desy.de; dkim=pass (1024-bit key) header.d=desy.de header.i=@desy.de header.b=kUQxHFDI; arc=none smtp.client-ip=131.169.56.156 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=desy.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=desy.de Received: from smtp-buf-2.desy.de (smtp-buf-2.desy.de [131.169.56.165]) by smtp-o-3.desy.de (Postfix) with ESMTP id 25090608F4 for ; Thu, 7 Mar 2024 14:39:30 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp-o-3.desy.de 25090608F4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=desy.de; s=default; t=1709818770; bh=YGl0pyZrSuXSE/Yu0rx35vaoANzLmGb397QuS+yCdkE=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=kUQxHFDIW3LmWzl1YykcsffAGJgk37fO7+aJbHlf4CwQfiD8KsXCD72XAgpwGuSJ0 sDgLGCz84Jn9dQetqozgq25zhRvAJcoAjl1Jv51lM1X8MmeGfgTf5msJvQo1gapwy1 TX5of/i5FwT7IO85x1jGxhmu5xNrHRDa41wHt0VU= Received: from smtp-m-2.desy.de (smtp-m-2.desy.de [IPv6:2001:638:700:1038::1:82]) by smtp-buf-2.desy.de (Postfix) with ESMTP id 1A07B120040; Thu, 7 Mar 2024 14:39:30 +0100 (CET) Received: from b1722.mx.srv.dfn.de (b1722.mx.srv.dfn.de [IPv6:2001:638:d:c302:acdc:1979:2:e7]) by smtp-m-2.desy.de (Postfix) with ESMTP id 11BDA120043; Thu, 7 Mar 2024 14:39:30 +0100 (CET) Received: from smtp-intra-3.desy.de (smtp-intra-3.desy.de [131.169.56.69]) by b1722.mx.srv.dfn.de (Postfix) with ESMTP id 708BB220039; Thu, 7 Mar 2024 14:39:29 +0100 (CET) Received: from z-mbx-2.desy.de (z-mbx-2.desy.de [131.169.55.140]) by smtp-intra-3.desy.de (Postfix) with ESMTP id 5A92080746; Thu, 7 Mar 2024 14:39:29 +0100 (CET) Date: Thu, 7 Mar 2024 14:39:25 +0100 (CET) From: "Mkrtchyan, Tigran" To: Martin Wege Cc: Linux NFS Mailing List Message-ID: <1001845535.26063.1709818765823.JavaMail.zimbra@desy.de> In-Reply-To: References: Subject: Re: export(5) all_squash, only new files squashed, or all uid/gids? Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="----=_Part_26134_666539453.1709818769214" X-Mailer: Zimbra 9.0.0_GA_4597 (ZimbraWebClient - FF123 (Linux)/9.0.0_GA_4583) Thread-Topic: export(5) all_squash, only new files squashed, or all uid/gids? Thread-Index: eQMPdBI9K03ttHFWWODk42rKp22DLg== ------=_Part_26134_666539453.1709818769214 Date: Thu, 7 Mar 2024 14:39:25 +0100 (CET) From: "Mkrtchyan, Tigran" To: Martin Wege Cc: Linux NFS Mailing List Message-ID: <1001845535.26063.1709818765823.JavaMail.zimbra@desy.de> In-Reply-To: References: Subject: Re: export(5) all_squash, only new files squashed, or all uid/gids? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mailer: Zimbra 9.0.0_GA_4597 (ZimbraWebClient - FF123 (Linux)/9.0.0_GA_4583) Thread-Topic: export(5) all_squash, only new files squashed, or all uid/gids? Thread-Index: eQMPdBI9K03ttHFWWODk42rKp22DLg== Hi Martin, The option all_squash does not affect files or directories. It replaces RPC request credentials sent by nfs client with user nobody:nobody. The newly created files will be owned by nobody:nobody, if parent directory permission (and export rules) allow to do so. Best regards, Tigran. ----- Original Message ----- > From: "Martin Wege" > To: "Linux NFS Mailing List" > Sent: Sunday, 3 March, 2024 14:31:37 > Subject: export(5) all_squash, only new files squashed, or all uid/gids? > Hello, > > How does the export(5) option all_squash export option work? Does it > only squash the uid/gid of new files to nobody/nogroup, or will it > turn the uid/gids of all existing files in the exported tree to > nobody/nogroup? > > Thanks, > Martin ------=_Part_26134_666539453.1709818769214 Content-Type: application/pkcs7-signature; name=smime.p7s; smime-type=signed-data Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCAMIIH XzCCBUegAwIBAgIQWCKDCq74or/A6r3iyeFcUzANBgkqhkiG9w0BAQwFADBVMQswCQYDVQQGEwJO TDEZMBcGA1UEChMQR0VBTlQgVmVyZW5pZ2luZzErMCkGA1UEAxMiR0VBTlQgVENTIEF1dGhlbnRp Y2F0aW9uIFJTQSBDQSA0QjAeFw0yMzExMjkxMTUwMjRaFw0yNDEyMjgxMTUwMjRaMIGpMRMwEQYK CZImiZPyLGQBGRMDb3JnMRYwFAYKCZImiZPyLGQBGRMGdGVyZW5hMRMwEQYKCZImiZPyLGQBGRMD dGNzMQswCQYDVQQGEwJERTEuMCwGA1UEChMlRGV1dHNjaGVzIEVsZWt0cm9uZW4tU3luY2hyb3Ry b24gREVTWTEoMCYGA1UEAwwfVGlncmFuIE1rcnRjaHlhbiB0aWdyYW5AZGVzeS5kZTCCAiIwDQYJ KoZIhvcNAQEBBQADggIPADCCAgoCggIBANIlFsEQpmV0zy2TtESnOX3d0a17dmceoaYpX2Sn9gwd obCTBa2Ud/YsGJOuGMb/v1kO/4RyvlXTJFAI4Ui8GJf68MpkMHosIVzisWSPfsBnfWPxgwDTITuS dwd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