From nobody Sun May 28 06:41:35 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QTTcH5tVxz4Whm4 for ; Sun, 28 May 2023 06:42:39 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Received: from mail-yw1-x1130.google.com (mail-yw1-x1130.google.com [IPv6:2607:f8b0:4864:20::1130]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QTTcG5SRZz3Gh1 for ; Sun, 28 May 2023 06:42:38 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=HOCidK6N; spf=pass (mx1.freebsd.org: domain of parv.0zero9@gmail.com designates 2607:f8b0:4864:20::1130 as permitted sender) smtp.mailfrom=parv.0zero9@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-yw1-x1130.google.com with SMTP id 00721157ae682-55db055b412so46943507b3.0 for ; Sat, 27 May 2023 23:42:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685256157; x=1687848157; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=80AOM7xdnWFBl2yNlZw2RrEhvTAquJRbdYATVZQD+Ss=; b=HOCidK6Nxl4eyhguhX3cg9GloARlD6dw4jbBaobTBExwC/mEd1z+MJvUC99E20kLqT f3RZy4lMyiOGvujQpaW8L09xQNjpGac7rvMoroATSrKWc10KSPC71lHZDQfhEmbAOmLq np8fDYbZF9270oVBIYehPBmPDqo04CEnUYVZYYxZhP55KE3y3pzCTKF1bnyTZh2OVKRL mZ5LLgcqElMJ3GHIYvo4CCwsvUUOPYtbiatbjr+GwxBwFvRzxzxSMMWUUcj0fx1LH6m/ jkp8qlb4BdvXqaicSw2EmQ5w6Ciu92bkBkGbdijRnaxniWUtfqhgYowoL3V5Mm4qMDaj MCrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685256157; x=1687848157; 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=80AOM7xdnWFBl2yNlZw2RrEhvTAquJRbdYATVZQD+Ss=; b=eURHD0AEOfjKOWk8NSKI3FCb44fhsb1xwZID/dlxsCA6nwIaJmVFTyN31lIQvynhWk oxLWuOyNluF/AMSlWGT8IzowjaFvprZ2lJDYBf49BCi3JxdxE0scvEmAGFHaVaXuE4UG p0GOVyNJ7oraSWuzGPHZwhDe9a7tnhJIZf5cdd0P7zX2YZSrnwaapXYnvEdRgbLm7pZO Oi3qKChj/swsov4V23i8zvVXBYHYRyKspg4Jf2cdQksHhs8koiT2Z6jcjlbU/dIUUBLa cqDiTHKJ3PMnbo6WppIC1FIiTDvuyRC572LPuIV8KBXWFUDqDLcanFh/CwFLqD1TRYzX aJfQ== X-Gm-Message-State: AC+VfDz7wgvg2jrsCGJtSOdyrnjL9umVVdxO7nL9lx+uU7/k2ZsFQksk oaALiwlJfTf9XRsfTEQhukxHixNin9aE/nyMcLQ= X-Google-Smtp-Source: ACHHUZ67XBNRPECbtNZmcj+Qaha6WD7Lb4q4OPl0dux5hx7XC2wUOiwJ9j+n0KxsCrmegxSqVREtAF3GiMIykWLDAmo= X-Received: by 2002:a81:5209:0:b0:565:bd6b:3ce0 with SMTP id g9-20020a815209000000b00565bd6b3ce0mr5284682ywb.4.1685256157481; Sat, 27 May 2023 23:42:37 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: "parv/FreeBSD" Date: Sat, 27 May 2023 20:41:35 -1000 Message-ID: Subject: Re: different NFS have different mappings To: Aryeh Friedman Cc: FreeBSD Mailing List Content-Type: multipart/alternative; boundary="0000000000009f500305fcbb46a3" X-Spamd-Result: default: False [-3.97 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.97)[-0.973]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_HAS_DN(0.00)[]; TAGGED_RCPT(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1130:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; TAGGED_FROM(0.00)[freebsd]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4QTTcG5SRZz3Gh1 X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N --0000000000009f500305fcbb46a3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, May 27, 2023 at 7:54=E2=80=AFPM Aryeh Friedman wrote: > I have a situation where for whatever reason FreeBSD wants a certain > dir to chowned 3:3 but the linux client wants 1001:1001 due to > security checks in the app it will crash if it has the wrong > permissions for the client it is on... what I currently have in > exports how do I fix it up?!?!? > > > /usr/local/com -alldirs -maproot=3Droot > /usr/local/com 192.168.11.21 -alldirs -maproot=3Droot -mapall=3D1001 > /usr/home -alldirs -maproot=3Droot > > /usr/local/com is the dir in queston > What NFS version (major & minor) is involved? - parv --0000000000009f500305fcbb46a3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, May 27, 2023 at 7:54=E2=80=AFPM Aryeh Friedman= =C2=A0 wrote:
I have a situation where for whatever reason Fre= eBSD wants a certain
dir to chowned 3:3 but the linux client wants 1001:1001 due to
security checks in the app it will crash if it has the wrong
permissions for the client it is on... what I currently have in
exports how do I fix it up?!?!?


/usr/local/com -alldirs -maproot=3Droot
/usr/local/com 192.168.11.21 -alldirs -maproot=3Droot -mapall=3D1001
/usr/home -alldirs -maproot=3Droot

/usr/local/com is the dir in queston

What N= FS version=20 (major & minor)=20 is involved?

=
- pa= rv
=
--0000000000009f500305fcbb46a3--