Skip to content

Commit

Permalink
udev-rules: Permission changes for /dev/kvm
Browse files Browse the repository at this point in the history
- Remove uaccess tag from /dev/kvm.
- Change the default mode for /dev/kvm to 0666.
  • Loading branch information
tstellar committed Nov 8, 2017
1 parent 0ed7820 commit b8fd3d8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion meson_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
3 changes: 0 additions & 3 deletions src/login/70-uaccess.rules
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit b8fd3d8

Please sign in to comment.