]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
udev-rules: Permission changes for /dev/kvm
authorTom Stellard <tstellar@redhat.com>
Tue, 31 Oct 2017 15:41:53 +0000 (08:41 -0700)
committerTom Stellard <tstellar@redhat.com>
Wed, 8 Nov 2017 16:17:49 +0000 (08:17 -0800)
- Remove uaccess tag from /dev/kvm.
- Change the default mode for /dev/kvm to 0666.

meson_options.txt
src/login/70-uaccess.rules

index 3de72acf95038808f50d4f551d367559b08324ba..50f24df1b3574e0e1edf69f03ec574c06d911307 100644 (file)
@@ -144,7 +144,7 @@ option('nobody-user', type : 'string',
 option('nobody-group', type : 'string',
        description : 'The name of the nobody group (the one with GID 65534)',
        value : 'nobody')
-option('dev-kvm-mode', type : 'string', value : '0660',
+option('dev-kvm-mode', type : 'string', value : '0666',
        description : '/dev/kvm access mode')
 option('default-kill-user-processes', type : 'boolean',
        description : 'the default value for KillUserProcesses= setting')
index 50dcd2e27580eee3df01c4b1747f25333b4c62e5..9e9dbae0e061ae78fb288e5b6bba4df25fb24471 100644 (file)
@@ -45,9 +45,6 @@ SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x014001*", TAG+="uaccess"
 # DRI video devices
 SUBSYSTEM=="drm", KERNEL=="card*|renderD*", TAG+="uaccess"
 
-# KVM
-SUBSYSTEM=="misc", KERNEL=="kvm", TAG+="uaccess"
-
 # smart-card readers
 ENV{ID_SMARTCARD_READER}=="?*", TAG+="uaccess"