From nobody Wed Jul 3 04:40:48 2024 X-Original-To: bugs@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 4WDRtS181Vz5QL57 for ; Wed, 03 Jul 2024 04:41:04 +0000 (UTC) (envelope-from dan@danielyli.com) Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WDRtR3RPKz4pwc for ; Wed, 3 Jul 2024 04:41:03 +0000 (UTC) (envelope-from dan@danielyli.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2ee817dac89so1981671fa.1 for ; Tue, 02 Jul 2024 21:41:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=danielyli-com.20230601.gappssmtp.com; s=20230601; t=1719981660; x=1720586460; darn=freebsd.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=45JiHcyIO0etXfd4MG4J+UdRCKYeh2ghwfhBVi6LXyk=; b=wtEqcGDWN7hVMK/ZFAes+30NccOO5ZBi8diyxo30e2lNfUrJkBiH/rn0xB58TcYpHh btX6eJ59v+5EEMOLttvY2GVQQ6qjudF64wDr7G+M5ft3wumq4A5ZRu3e8kqx8W5Gbvge /34Ir9Fw9aBlSfdpezZ+FJhMH0SkbqZl1aDEPTGU9hIyTzANmzYQuXgbXkKyLoP1y0NA vnhuW5tZiHWKFr8+X8inMoFJ8vxNf1AuzGtuuZLAsZuhcITtWJOCUUUlDeR8AuIh0HKz BW/rBiX0FXyQWmH6iMX5EKyCXrNQWHJx7pjNN1CH+DuDI6wGJyRn4GC6RNXqho89WQFA DO3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719981660; x=1720586460; 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=45JiHcyIO0etXfd4MG4J+UdRCKYeh2ghwfhBVi6LXyk=; b=sPSpFpnX0Ew9wtZJEowd0CTC3A+KefwoqvAAu2abpIG3iRlZPAhFjRGyO5/mN/tw4D JIc9E9gngm/8D75u/nvGR0jgJLNQLG7MUlCLV5ZE5OXuKwbuucCMWQXztil/9tuaqPoY aX8icoCVs4gYBK9F3vNo9JYwOa/4JoEAMZBk90frMnIE+w2vg2SghwcWyN4PJZIJFwWt SRvDPjoLLNOa/38bvII+pbiQ64MF7C/ava745486PTjNOFKi7rS6uPcul0KiFBpj/Hkj T+KKTVYvDdXaUvqKsvBfrhKlUaTtzszEnXHdexRQSod2KKOFwU/Kb1py6wjgqzLOQmaP q4AQ== X-Gm-Message-State: AOJu0Yzg/7/+doobZ/oTEGl6JjyV0cSD9Ts7/afDXw+jCb+FFiPwXfGZ 9LT+w+/SRlQusd3mqqEyPhL7XJ2Oxc8WGPUJBfouIx54zQNxNBBsrGav66lpcA8/HT2sv3d7aHe FAkMGnXzyYHUf0ob9n3dyPtU6oauDOd0XdZ4hWR1pxRHf0jOAIEU= X-Google-Smtp-Source: AGHT+IG1JYCKDQlEKl2cn011jv/1AeqkccLD/Lco3Ak4Mo05adX1cZ1VKvxtgpMI9Zm/h6lffjR3fr/M1qbHMHBWa4Q= X-Received: by 2002:a2e:80d9:0:b0:2ee:7af7:ac21 with SMTP id 38308e7fff4ca-2ee84a25a27mr1365031fa.7.1719981659941; Tue, 02 Jul 2024 21:40:59 -0700 (PDT) List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Daniel Li Date: Tue, 2 Jul 2024 21:40:48 -0700 Message-ID: Subject: Re: [Bug 280099] adduser not respecting home directory mode To: bugzilla-noreply@freebsd.org Cc: bugs@freebsd.org Content-Type: multipart/alternative; boundary="000000000000dc894c061c506fb0" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4WDRtR3RPKz4pwc --000000000000dc894c061c506fb0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yes, it was on zfs. I just retried on ufs and cannot reproduce =E2=80=94 adduser on ufs respect= s the umask. So this seems to be zfs home dir specific. On Tue, Jul 2, 2024 at 9:34=E2=80=AFPM wrote= : > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280099 > > Li-Wen Hsu changed: > > What |Removed |Added > > -------------------------------------------------------------------------= --- > Status|New |Open > > --- Comment #1 from Li-Wen Hsu --- > (In reply to Daniel Li from comment #0) > Just did a very quick test on my root on zfs setup and it seems creating = a > zfs > dataset as new user's home dir without setting the permission as describe= d. > > Daniel, I want to check, are you also using zfs on root? Also, if > possible, can > use check the case of root on ufs? > > -- > You are receiving this mail because: > You are the assignee for the bug. > --000000000000dc894c061c506fb0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes, it was on zfs.

I just retried on u= fs and cannot reproduce =E2=80=94 adduser on ufs respects the umask. So thi= s seems to be zfs home dir specific.

On Tue, Jul 2, 2024 at 9:34=E2=80= =AFPM <bugzilla-noreply@= freebsd.org> wrote:
https://bugs.freebsd.org/bugzil= la/show_bug.cgi?id=3D280099

Li-Wen Hsu <lwhsu@FreeBSD.org> changed:

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0What=C2=A0 =C2=A0 |Removed=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|Added=
---------------------------------------------------------------------------= -
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Status|New=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|O= pen

--- Comment #1 from Li-Wen Hsu <lwhsu@FreeBSD.org> ---
(In reply to Daniel Li from comment #0)
Just did a very quick test on my root on zfs setup and it seems creating a = zfs
dataset as new user's home dir without setting the permission as descri= bed.

Daniel, I want to check, are you also using zfs on root? Also, if possible,= can
use check the case of root on ufs?

--
You are receiving this mail because:
You are the assignee for the bug.
--000000000000dc894c061c506fb0--