[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

grip/cdparanoia suddenly unable to open cdrom drive



I noticed this problem but don't quite understand how it came about -
perhaps others might get caught......

Using an up-to-date sid release.

grip/cdparanoia "suddenly" started giving the error:

	Unable to open cdrom drive

(I have /dev/cdrom -> /dev/scd0).

Worked okay for root. Also grip worked okay if cdda2wav was chosen.

The permission on /dev/scd0 looked correct (group cdrom, g=rw).

However /dev/sg0 was group root with no non-user permissions.
I'm not sure what /dev/sg0 is but I was lead to it after noting that
as root cdparanoia gave:

   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

Had to fix /dev/sg0 with:

    chgrp cdrom /dev/sg; chmod g+rw /dev/sg0

Things started working just fine for users again.

Regards,
Graham



Reply to: