From nobody Wed Jul 03 05:17:34 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 4WDShZ5kZ3z5QPpp for ; Wed, 03 Jul 2024 05:17:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WDShZ3rWMz4t91 for ; Wed, 3 Jul 2024 05:17:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719983854; a=rsa-sha256; cv=none; b=gmBW6v3ExLhkoEUw6kdQtk1PML7AMAoofGWi+gqCu89VAREkQUAJNM+EVhloI8ves5M/DX zaxHBusoWp+UtXQBE2m+6pOfvHv62WSRtsVSv97AGcBnEYRlQCLrcka6ZRKnkpIleX+EAq VgsqQOwm61cJYam+MqoDXuuuUFctoLh8f2Y8FkLLDviVL2uQpGprooZdHaJtWZl3EGsqdE fhBMMAwnPSdxKM0lPt08KcHtKRqXhZ1cjFPSX9kSTD0sgykSlIhk+NYt7tGrLHv8vk5Exi bDFC8WIcXEN5faxIENHfbmHdD8zOci4jF4FU1nEZFku4jDcZKkbqicqRxggPfg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719983854; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=guq0kKkAjMxXi2TiwAJfXKm7IVrKQmwbJ7Qkz0vc0l4=; b=ClWsHagqpOXKqGMREOE7VwGUbHhHk9jocmxoyo4q8zq/7yWdm/Ov1SDqNG/E9iXgjrFvhB O49yCp2r1WZuaX0oTBj/CoAaZSiyuV5Arq7Amym6kd4sw9zNN9WaGswRQlfVYbOuWtZJnT UcnekeTLxY/3E2LYM68cdaPRbphayBzIyql/e+eLA2O28krLHV/7LCGR9CjmpMzo27M5Kx ip9fa6aExAc+UI6JsOHiaDZDmfxdsct3dz8EKKw73dWkOq4+3H447Q5KFc2Nk6384sppRx LUbgmeey4SvjL91j2PpJLc8bNBwIYfY8M5syf2XEkoLC+M9Vi7jwt/EmJszbXA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WDShZ3SSpzJc1 for ; Wed, 3 Jul 2024 05:17:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4635HYso016102 for ; Wed, 3 Jul 2024 05:17:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4635HY4x016101 for bugs@FreeBSD.org; Wed, 3 Jul 2024 05:17:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 280099] adduser not respecting home directory mode Date: Wed, 03 Jul 2024 05:17:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: dan@danielyli.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280099 --- Comment #5 from Daniel Li --- After reading over 215c0a5, it doesn't appear to be anything wrong with the commit itself. The issue seems to be upstream in `pw` and unrelated to zfs; specifically, = `pw` doesn't seem to change the directory permissions if the home directory is a mounted file system. To reproduce via, say, nullfs: mkdir /any/arbitrary/new/dir mount -t nullfs /any/arbitrary/new/dir /home/newuser pw useradd newuser -m -M 700 The /home/newuser directory will be unchanged, as if 700 were not specified. --=20 You are receiving this mail because: You are the assignee for the bug.=