chiark / gitweb /
udev-rules: Permission changes for /dev/dri/renderD*
authorTom Stellard <tstellar@redhat.com>
Tue, 31 Oct 2017 15:46:24 +0000 (08:46 -0700)
committerSven Eden <yamakuzure@gmx.net>
Tue, 31 Oct 2017 15:46:24 +0000 (08:46 -0700)
- Remove the uaccess tag from /dev/dri/renderD*.
- Change the owning group from video to render.
- Change default mode to 0666.
- Add an option to allow users to set the access mode for these devices at
compile time.

src/login/70-uaccess.rules

index 9e9dbae0e061ae78fb288e5b6bba4df25fb24471..e946bf2380be4c2bbd30658e6ae5a5b87e14a6fa 100644 (file)
@@ -43,7 +43,7 @@ SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x010001*", TAG+="uaccess"
 SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x014001*", TAG+="uaccess"
 
 # DRI video devices
-SUBSYSTEM=="drm", KERNEL=="card*|renderD*", TAG+="uaccess"
+SUBSYSTEM=="drm", KERNEL=="card*", TAG+="uaccess"
 
 # smart-card readers
 ENV{ID_SMARTCARD_READER}=="?*", TAG+="uaccess"