unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tobias Geerinckx-Rice <me@tobias.gr>
To: Maya <maya.omase@protonmail.com>,
	"guix-devel@gnu.org" <guix-devel@gnu.org>
Subject: Re: User group during build process
Date: Sun, 24 Jul 2022 14:14:15 +0000	[thread overview]
Message-ID: <3216B1FC-8597-4D68-B4C0-BD5F67E86F53@tobias.gr> (raw)
In-Reply-To: <scadls36oWlx1-yukvNSIhfcH9dZTmsZxPf_1lUmQs3Qp8qu88NSLIq_zPqbmhhEwe3J_Utnc4DI0oMiOtuKuK1Ho9hEgczkO8Bhcuqbi88=@protonmail.com>

Hi Maya!

So... You cannot change group ownership in the store.  There are no additional user groups in the build environment.  The chgrp failing is by design ('it's a feature, not a bug'), and there's no way to subvert this.  The group is not required during the build process.

The correct way to make smtpctl setgid is to use Guix System's setuid-programs field, and use (setgid? #t) (group "smtpq") for smtpctl.

Kind regards,

T G-R

Sent on the go.  Excuse or enjoy my brevity.


  reply	other threads:[~2022-07-24 14:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-24 14:00 User group during build process Maya
2022-07-24 14:14 ` Tobias Geerinckx-Rice [this message]
2022-07-24 16:19   ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2022-07-24 19:17     ` Maya
2022-07-24 19:57       ` Tobias Geerinckx-Rice

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=3216B1FC-8597-4D68-B4C0-BD5F67E86F53@tobias.gr \
    --to=me@tobias.gr \
    --cc=guix-devel@gnu.org \
    --cc=maya.omase@protonmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).