Hi,

Felix Lechner <felix.lech...@gmail.com> skribis:

> On Tue, May 24, 2022 at 11:42 PM Blake Shaw <bl...@sweatshoppe.org> wrote:
>>
>> I changed my user name in my config without adding a new user
>
> I did that once in a new installation. In the second generation of my
> configuration I changed the example user 'bob' to my own username. It
> did not work well.
>
> Due to precautions I was able to go back in as the root user and
> adjust the permissions. The only unexpected part was that the symbolic
> links for per-user profiles encode the relationship between user name
> and uid.

Yes, this part is inherently stateful: Guix will not meddle with your
home directories and such.

Perhaps it should forcefully “chown -R” home directories at boot time,
so they have the right UID?  This has been discussed a few times,
especially in the context of system accounts; systemd-homed appears to
be doing exactly that.

Thoughts?

Ludo’.

Reply via email to