unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#18994: Daemon does not preserve supplementary groups of build users
@ 2014-11-08 14:01 Ludovic Courtès
  2015-07-01  9:12 ` bug#18994: [PATCH] Preserve " Ludovic Courtès
       [not found] ` <87vbe4w8a4.fsf@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Ludovic Courtès @ 2014-11-08 14:01 UTC (permalink / raw)
  To: 18994

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.

This can be see with:

  (gexp->derivation "foo"
    #~(begin (mkdir #$output)(pk (stat:gid (stat "/dev/kvm")) (getgroups))))

The workaround for now is to make /dev/kvm 666.

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-07-01 15:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-08 14:01 bug#18994: Daemon does not preserve supplementary groups of build users Ludovic Courtès
2015-07-01  9:12 ` bug#18994: [PATCH] Preserve " Ludovic Courtès
     [not found] ` <87vbe4w8a4.fsf@gnu.org>
2015-07-01 12:59   ` Eelco Dolstra
     [not found]   ` <5593E431.70200@logicblox.com>
2015-07-01 14:54     ` Ludovic Courtès

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).