Re: [bug] 2.6.8: CDROM_SEND_PACKET ioctls failing as non-root on ide scsi drives

Luke Kenneth Casson Leighton
2004-10-04T14:12:44Z

On Mon, Oct 04, 2004 at 02:49:39PM +0100, Sean Neakums wrote:
> Jens Axboe <axboe@suse.de> writes:
>
> > On Mon, Oct 04 2004, Sean Neakums wrote:
> >> CDROM_SEND_PACKET calls down to sg_io, which calls verify_command,
> >> which will not permit anyone but root to use any unrecognised
> >> commands. GET CONFIGURATION does not seems to be one of those
> >> recognised. This check for unrecognised commands is a fairly recent
> >> addition, IIRC.
> >
> > 2.6.8 didn't have any command granularity, you must be root to issue any
> > comand there.
>
> I was looking at 2.6.8.1 when I wrote the above, although it's
> possible my eye skipped over something.

ah yes now i have found the issue i have a confession to make,
i'm actually running 2.6.8.1-selinux1.

i didn't want to mention that in case it was selinux that was the
problem :)

l.