Red Hat Bugzilla – Bug 147879
patch for console.perms and /dev/dri/*
Last modified: 2007-11-30 17:11:00 EST
Description of problem:
The console.perms file shipped with pam-0.78-4 fixes permissions for DRI device
nodes /dev/nvidia/* and /dev/3dfx/*, however, it leaves out DRI device nodes for
other graphics cards that live in /dev/dri/*.
My ATI Radeon 7000VE graphics card has its DRI device node represented by
/dev/dri/card0. I have attached a very simple patch that covers /dev/dri/* along
with /dev/nvidia/* and /dev/3dfx/*.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Login to any valid user account in X11 and check /dev/dri/card0 nas root:root
and owner and 0660 permissions.
Pam *must* change /dev/dri/card0 permissions to match those from the user that
logged into X.
See attached patch.
Created attachment 111011 [details]
Include /dev/dri/* when setting DRI device permissions
Oops. Wrong bug.