Demi Marie Obenour writes: > On 10/28/25 12:02, Alyssa Ross wrote: >> Demi Marie Obenour writes: >> >>> diff --git a/host/rootfs/image/etc/s6-rc/weston/run b/host/rootfs/image/etc/s6-rc/weston/run >>> index 7dca0dab095569c9e7d49df9d245533a7265283e..8276e7eed45ab8155e21a3e11f86c57c03d66cc4 100644 >>> --- a/host/rootfs/image/etc/s6-rc/weston/run >>> +++ b/host/rootfs/image/etc/s6-rc/weston/run >>> @@ -4,9 +4,9 @@ >>> >>> unexport WAYLAND_DISPLAY >>> >>> -foreground { >>> - umask 077 >>> - mkdir /run/user/0 >>> +if { >>> + umask 0022 >>> + mkdir -p -m 0700 /run/user/0 >> >> What's the point in continuing to umask when you explicitly provide the mode? > > The mode only applies to the last directory (/run/user/0). The umask > ensures that /run/user will be created with the correct permissions > (0022) if it doesn't exist already. /run/user always exists, though. It's in the run-image copied by s6-linux-init in early boot.