[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18994: [PATCH] Preserve supplementary groups of build users
From: |
Eelco Dolstra |
Subject: |
bug#18994: [PATCH] Preserve supplementary groups of build users |
Date: |
Wed, 01 Jul 2015 14:59:29 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
Hi Ludo,
On 01/07/15 11:12, Ludovic Courtès wrote:
>> Currently, the build environment made by the daemon does not preserve
>> supplementary groups of the build users.
>>
>> Thus, even though the standalone Guix system sets /dev/kvm 660, owned by
>> root:kvm, and adds the build users to the kvm group, build users are
>> unable to access it.
>
> The following patch is an attempt to address this bug (see
> <http://bugs.gnu.org/18994>) by preserving the supplementary groups of
> build users in the build environment.
>
> In practice, I would expect that supplementary groups would contain only
> one or two groups: the build users group, and possibly the “kvm” group.
Applied, thanks!
--
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/