Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jul 2023 07:46:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 272042] Directory 1002/ is sometimes missing from /var/run/user/
Message-ID:  <bug-272042-227-iHcBbxf8Iz@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-272042-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-272042-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272042

--- Comment #12 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
(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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272042-227-iHcBbxf8Iz>