Bug 86452 - user does not get device permissions for manually added SCSI device
Summary: user does not get device permissions for manually added SCSI device
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: pam
Version: 1.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2003-03-22 10:45 UTC by Michael Wardle
Modified: 2007-04-18 16:52 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2004-09-21 13:22:00 UTC

Attachments (Terms of Use)

Description Michael Wardle 2003-03-22 10:45:02 UTC
Description of problem:
I have an IDE/ATAPI DVD drive on /dev/hdc and an IDE/ATAPI CD-RW drive on
/dev/hdd.  Red Hat Linux automatically configures the CD-RW drive as an
IDE-SCSI device by adding hdd=ide-scsi to the kernel boot parameters.
For consistency and improved performance, I have also configured my DVD
drive as an IDE-SCSI device by adding hdc=ide-scsi to the kernel boot

After rebooting, the SCSI devices in /dev are given the following
brw-------    1 michael  disk      11,   0 Jan 30 21:24 /dev/scd0
brw-------    1 michael  disk      11,   1 Jan 30 21:24 /dev/scd1
crw-rw----    1 root     disk      21,   0 Jan 30 21:24 /dev/sg0
crw-------    1 michael  disk      21,   1 Jan 30 21:24 /dev/sg1

To be able to consistently and completely use the DVD drive as a SCSI
device (in particular to be able to rip music from an audio CD in the DVD
drive using Grip), /dev/sg0 also needs to have permissions similar to

Given the devices are owned by the user "michael", the user who is
currently logged in to a local X session on the console via GDM, I
am filing this bug under GDM, assuming it is what has modified the
permissions on the SCSI devices, but has not also modified the
permissions on /dev/sg0.

Version-Release number of selected component (if applicable):

Comment 1 Michael Wardle 2003-03-31 03:53:33 UTC
It seems like this is handled by pam_console in /etc/security/console.perms.
Changing component accordingly.


Comment 2 Tomas Mraz 2004-09-21 13:22:00 UTC
You need to read the man console.perms and change it accordingly to
your  modified configuration.

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