GNU bug report logs -
#60320
[PATCH] doc: Improve user-group documentation.
Previous Next
Reported by: Simon Josefsson <simon <at> josefsson.org>
Date: Sun, 25 Dec 2022 21:20:01 UTC
Severity: normal
Tags: patch, wontfix
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
I think the group was created, but you probably forgot to add yourself to that new group. At least, what you show us looks correct, for adding a group to you os declaration.
Note your user-group example is unbalanced. The manual is a bit long to read, but it seems correct to me.
Le 25 décembre 2022 22:19:00 GMT+01:00, Simon Josefsson via Guix-patches via <guix-patches <at> gnu.org> a écrit :
>Hi.
>
>Not knowing better I added this to my operating-system form:
>
> (groups (cons* (user-group
> (name "jas")
> (id "1000"))
> %base-groups))
>
>Running 'guix system reconfigure /etc/config.scm' worked fine, and upon
>boot I was placed in group 30001. Any idea what happened? A warning
>would have been nice.
>
>If there had been an example in the manual I wouldn't have made the
>mistake, so the attached patch improves this manual page:
>https://guix.gnu.org/en/manual/en/html_node/User-Accounts.html#User-Accounts
>
>/Simon
[Message part 2 (text/html, inline)]
This bug report was last modified 2 years and 172 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.