Hi, everyone -

I seem to have a problem with my CD-ROM permissions under RH8.0. If I run cdparanoia as root, it can access the drive just fine, but if I run it as a user, it can't.

It finds the drive here:

[EMAIL PROTECTED] root]# cdparanoia --query -sv
cdparanoia III release 9.8 (March 23, 2001)
(C) 2001 Monty <[EMAIL PROTECTED]> and Xiphophorus

Report bugs to [EMAIL PROTECTED]
http://www.xiph.org/paranoia/

Checking /dev/cdrom for cdrom...
        Testing /dev/cdrom for cooked ioctl() interface
                /dev/scd0 is not a cooked ioctl CDROM.
        Testing /dev/cdrom for SCSI interface
                generic device: /dev/sg0
                ioctl device: /dev/scd0

Found an accessible SCSI CDROM drive.
Looking at revision of the SG interface in use...
        SG interface version 3.1.24; OK.

CDROM model sensed sensed: SAMSUNG CD-R/RW SW-240B R402

Checking for SCSI emulation...
        Drive is ATAPI (using SCSI host adaptor emulation)

Checking for MMC style command set...
        Drive is MMC style
        DMA scatter/gather table entries: 256
        table entry size: 32768 bytes
        maximum theoretical transfer: 3566 sectors
        Setting default read size to 13 sectors (30576 bytes).

Verifying CDDA command set...
        Expected command set reads OK.

When I run it as me, however, it fails:

[EMAIL PROTECTED] tmp]$ cdparanoia --query -sv
cdparanoia III release 9.8 (March 23, 2001)
(C) 2001 Monty <[EMAIL PROTECTED]> and Xiphophorus

Report bugs to [EMAIL PROTECTED]
http://www.xiph.org/paranoia/

Checking /dev/cdrom for cdrom...
Testing /dev/cdrom for cooked ioctl() interface
/dev/scd0 is not a cooked ioctl CDROM.
Testing /dev/cdrom for SCSI interface
generic device: /dev/sg0
ioctl device: /dev/scd0
Could not open generic SCSI device /dev/sg0: Permission denied


Checking permissions, it looks like user jeff should be able to access the drive:

[EMAIL PROTECTED] root]# ls -l --color=never /dev/cdrom /dev/scd0 /dev/sg0
lrwxrwxrwx 1 root disk 9 Jan 21 23:26 /dev/cdrom -> /dev/scd0
brwxrwxr-- 1 jeff disk 11, 0 Aug 30 2002 /dev/scd0
crw-rw-r-- 1 root disk 21, 0 Aug 30 2002 /dev/sg0
[EMAIL PROTECTED] root]# grep disk /etc/group
disk:x:6:root,jeff


Any ideas why user jeff can't read the CD-ROM but root can?

thanks,
Jeff



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to