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

Re: "logical unit communication failure" c2scan NEC ND-4550A 1.07



Bill Davidsen <davidsen@tmr.com> wrote:

> >The onvious fix wouild have been to change the kernel to correctly require
> >write permission on a fd for the SD_IO ioctl.
> >  
> >
> Think about that one for a minute... you need to write the "seek" and 
> "send data" commands to use the CD at all, at least if you use the sg 
> interface. So just blindly blocking write would leave sg users unable to 
> use the device at all. You really need a bit of cleverness here, just 
> checking write permissions isn't enough.

This is the second mail from yo that makes me believe you are confused.

I am talking on read vs. read/write permission on the FILE DESCRIPTOR
that is used for the SG_IO ioctl.

This is unrelated to your writing.

If you like to comment on this LInux bug, please first inform yourself 
correctly on the bug itself.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de                (uni)  
       schilling@fokus.fraunhofer.de     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily



Reply to: