From 64720891ae7edc33f963651c5ba2509513b1849a Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 15 Jul 2015 16:16:43 +0200 Subject: system: Make /dev/kvm 660. * gnu/services/base.scm (kvm-udev-rule): Change /dev/kvm mode to 0660 as a followup to the resolution of . --- gnu/services/base.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gnu/services') diff --git a/gnu/services/base.scm b/gnu/services/base.scm index d5744204d9..e9e69ea2b8 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -739,11 +739,11 @@ item of @var{packages}." (call-with-output-file (string-append rules.d "/90-kvm.rules") (lambda (port) - ;; FIXME: As a workaround for - ;; , make /dev/kvm 666 - ;; instead of 660. + ;; Build users are part of the "kvm" group, so we + ;; can fearlessly make /dev/kvm 660 (see + ;; , for background.) (display "\ -KERNEL==\"kvm\", GROUP=\"kvm\", MODE=\"0666\"\n" port)))) +KERNEL==\"kvm\", GROUP=\"kvm\", MODE=\"0660\"\n" port)))) #:modules '((guix build utils)))) (define* (udev-service #:key (udev eudev) (rules '())) -- cgit v1.2.3