Re: CD writing in future Linux try #2 [ was: Re: CD writing in future Linux (stirring up a hornets' nest) ]

From: Pavel Machek
Date: Mon Jan 30 2006 - 18:24:42 EST


On Po 30-01-06 18:15:49, Joerg Schilling wrote:
> Matthias Andree <matthias.andree@xxxxxx> wrote:
>
> > > > 2) libscg or cdrecord aborts ATA: scans as soon as one device probe
> > > > returns EPERM, which lets devices that resmgr made accessible
> > > > disappear from the list.
> > >
> > > looks like your memory does not last long enough......
> > >
> > > We did already discuss this before. If you call cdrecord with
> > > apropriatr privileges, it works.
> >
> > Well, if you're freezing the bugs, I don't see how there could be
> > progress towards a non-root cdrecord on Linux.
>
> There is no such bug in libscg.
>
> There is nothing that has been freezed.
>
> If you have the apropriate privs to send SCSI commands to any SCSI device
> on the system, you will not come across your problem.

Why should I need privs to talk to *any* SCSI device, when I want to
talk to just *one* SCSI device?

Yes, it is a missing feature in libscg. It requires priviledge to talk
to *any* device, while is only really needs to talk to *one* device.

[Imagine ls that only worked if it had priviledges for reading
/etc/shadow. That would surely be bug.]
Pavel

--
Thanks, Sharp!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/