all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Julien Lepiller <julien@lepiller.eu>
To: Simon Josefsson <simon@josefsson.org>, 60320@debbugs.gnu.org
Subject: [bug#60320] [PATCH] doc: Improve user-group documentation.
Date: Mon, 26 Dec 2022 07:43:46 +0100	[thread overview]
Message-ID: <A65F9A29-52FF-4510-A0D3-F02E501B971C@lepiller.eu> (raw)
In-Reply-To: <871qonmbaz.fsf@josefsson.org>

[-- Attachment #1: Type: text/plain, Size: 1002 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1374 bytes --]

      reply	other threads:[~2022-12-26  6:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-25 21:19 [bug#60320] [PATCH] doc: Improve user-group documentation Simon Josefsson via Guix-patches via
2022-12-26  6:43 ` Julien Lepiller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A65F9A29-52FF-4510-A0D3-F02E501B971C@lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=60320@debbugs.gnu.org \
    --cc=simon@josefsson.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.