Re: DVD works in Linux, not windows
On Monday 07 May 2007 23:50:00 Joerg Schilling wrote:
> Bill Davidsen <davidsen@tmr.com> wrote:
> > > BTW: there is nothing like Fedora cdrecord. You are either uninformed
> > > or a bad guy who intentionally spready FUD.
> >
> > My version has a cdrecord in /usr/bin which works. I didn't build it,
> > therefore it's a Fedora-supplied version AFAIK. And it works as a normal
> > user, so maybe you could get the source and find out how they fixed the
> > bug.
>
> Is this ignorance ot missing knowledge?
>
> There is no bug in cdrecord, but it is hard to tell what kind of bug
> has been built into your version in order to allow it to pretend to
> work without root privileges.
I used to apply following to Pardus Linux cdrecord package but now its
distributed as suid root which makes the patch obsolete.
Regards,
ismail
--
Le mieux est l'ennemi du bien.
diff -urNad cdrtools-2.01+01a03~/libscg/scsi-linux-sg.c cdrtools-2.01+01a03/libscg/scsi-linux-sg.c
--- cdrtools-2.01+01a03~/libscg/scsi-linux-sg.c 2005-05-16 23:48:37.000000000 +0200
+++ cdrtools-2.01+01a03/libscg/scsi-linux-sg.c 2006-08-17 12:01:37.000000000 +0200
@@ -1291,7 +1291,7 @@
scglocal(scgp)->isold = 1;
return (sg_rwsend(scgp));
}
- if (sp->ux_errno == ENXIO || sp->ux_errno == EPERM ||
+ if (sp->ux_errno == ENXIO || /* sp->ux_errno == EPERM || */
sp->ux_errno == EINVAL || sp->ux_errno == EACCES) {
return (-1);
}
Reply to: