From nobody Mon Jul 24 07:46:55 2023 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 4R8XL84fXDz4ngdb for ; Mon, 24 Jul 2023 07:46:56 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R8XL83JdQz3hsG for ; Mon, 24 Jul 2023 07:46:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690184816; 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=XoSyElvPAVoKGUzCdS7okl+y9V/IWZtuRBBy9ZWpplk=; b=ik78SoBsb6nmmGU3O7qhqy676bv4ziysQ6AiHzHqTHrr5gK3mFzSsDRRYK+qVA7Bgm3+eY ZTZM3Pki3/kuXFTW1Kb0fCoiUEt74jbRL7dTEWEgmfULievu1iAFRMOLWx11FUBLLAOtRt mWJOd2T0uua/wTa5ind24OMx2vTTtsFEpiinX8wqavy/dUquEvT8QeYOD1RcF0spS/9Y9z m9N4spx56qMGDzdRQRQn+axXznF3OEoiA/sBZnhYRibutp90tYkWhfly44xasXi9tlMGm1 CoaHiwCVUMDHbQHqxeCVFrDPXGs2TZ3k4Nl/+Mbs4PxOHQNzJP4XD0E+wvZz0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690184816; a=rsa-sha256; cv=none; b=c3QLmqdzVzWP0pWorJuS3a4BE+XJY7R1KE89To9pe1JkpLJRheT8E79W21pq9TEhOg+p9G 6PVqPEEn2of4jG0wCr3btjGxmwbJCaKBS6ubfe6mUe7y6FJlAK/ewHGP+ywJAXUPQpmn52 PthWSrs6Dn84fibZGamLPuOsZ0FWsGhiw79cVlQHXhcIPkDjiue8BWYh8r6Iq2lPeAtwJK XDYaU/BdrnrgNH0qV2gNxsqHHMW9m3Mgdvlg2tgQuEg+ssBXk5B4IN6w7+Wg+uhat690i3 O1/PhLTfyyki+o2UorPhKZLme3C0NE7eXL6Dj2j5wmr1+HkgVLntAveoediIeA== 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 4R8XL818tLz18qW for ; Mon, 24 Jul 2023 07:46:56 +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 36O7ktFL078391 for ; Mon, 24 Jul 2023 07:46:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36O7ktuv078390 for bugs@FreeBSD.org; Mon, 24 Jul 2023 07:46:55 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 272042] Directory 1002/ is sometimes missing from /var/run/user/ Date: Mon, 24 Jul 2023 07:46:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tatsuki_makino@hotmail.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=3D272042 --- Comment #12 from Tatsuki Makino --- (In reply to Graham Perrin =E2=97=90 from comment #11) In my case, there is no /var/run/user itself :) Because I am not using wayland. And if it is set while being seen https://docs.freebsd.org/en/books/handbook/wayland/ I feel that non-privileged users will not be able to create directories the= re. If the process that first creates the directory in /var/run/user is a non-privileged user, one step is required to make sure that /var/run/user h= as permissions like 01777 or rwxrwxrwt. Also, I can't find the part of the sddm source code that makes the directory there. If UID is 1001, then just logging in with sddm and starting a session will create that directory, is that correct? --=20 You are receiving this mail because: You are the assignee for the bug.=