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/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272042

--- Comment #12 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
(In reply to Graham Perrin ◐ 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 there.
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 has
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?

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

help

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