Subject: [bug#78497] [PATCH] environment: Provide a writable /run/user/$UID.

From: Ludovic Courtès <[email-masked]>
Date: Tue, 20 May 2025 09:20:02 +0200

Hi,

Tomas Volf <[email-masked]> writes:

> I just wonder how many more we will need :)  Cannot really think of any,
> so hopefully this is it?

Hopefully!

>> +                                           (string-append "/run/user/"
>> +                                                          (number->string uid))))
>
> For normal users this is fine, but for root the whole /run should be
> writable, the way it is on normal system.  Thoughts?

For root, the whole root file system should be writable.

So I wonder if it makes sense to special-case the above to be “/run”
when UID is zero; WDYT?

Thanks,
Ludo’.