Red Hat Bugzilla – Bug 86452
user does not get device permissions for manually added SCSI device
Last modified: 2007-04-18 12:52:17 EDT
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):
It seems like this is handled by pam_console in /etc/security/console.perms.
Changing component accordingly.
You need to read the man console.perms and change it accordingly to
your modified configuration.