Bug 147879 - patch for console.perms and /dev/dri/*
Summary: patch for console.perms and /dev/dri/*
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pam
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-02-11 22:53 UTC by Felipe Alfaro Solana
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: pam-0.78-9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-03-23 13:15:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Include /dev/dri/* when setting DRI device permissions (379 bytes, patch)
2005-02-11 22:53 UTC, Felipe Alfaro Solana
no flags Details | Diff

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):
0.78-4

How reproducible:
Always

Steps to Reproduce:
N/A
  
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.


Note You need to log in before you can comment on or make changes to this bug.