Bug 147879

Summary: patch for console.perms and /dev/dri/*
Product: [Fedora] Fedora Reporter: Felipe Alfaro Solana <felipe_alfaro>
Component: pamAssignee: Tomas Mraz <tmraz>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideKeywords: Patch
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: pam-0.78-9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-03-23 13:15:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
Include /dev/dri/* when setting DRI device permissions none

Description Felipe Alfaro Solana 2005-02-11 22:53:24 UTC
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):

How reproducible:

Steps to Reproduce:
Actual results:
Login to any valid user account in X11 and check /dev/dri/card0 nas root:root
and owner and 0660 permissions.

Expected results:
Pam *must* change /dev/dri/card0 permissions to match those from the user that
logged into X.

Additional info:
See attached patch.

Comment 1 Felipe Alfaro Solana 2005-02-11 22:53:25 UTC
Created attachment 111011 [details]
Include /dev/dri/* when setting DRI device permissions

Comment 2 Tomas Mraz 2005-02-21 15:34:12 UTC
Oops. Wrong bug.