Bug 86452 - user does not get device permissions for manually added SCSI device
user does not get device permissions for manually added SCSI device
Product: Red Hat Raw Hide
Classification: Retired
Component: pam (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tomas Mraz
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2003-03-22 05:45 EST by Michael Wardle
Modified: 2007-04-18 12:52 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-09-21 09:22:00 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Michael Wardle 2003-03-22 05:45:02 EST
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-30 22:53:33 EST
It seems like this is handled by pam_console in /etc/security/console.perms.
Changing component accordingly.

Comment 2 Tomas Mraz 2004-09-21 09:22:00 EDT
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.