[mythtv] qmake & makefile question

Leo Weppelman leo at wau.mis.ah.nl
Sun Jun 20 16:53:22 EDT 2004


On Sun, Jun 20, 2004 at 04:37:43PM -0400, J. Donavan Stanley wrote:
> Leo Weppelman wrote:
> 
> >On Sun, Jun 20, 2004 at 07:01:15AM -0400, J. Donavan Stanley wrote:
> > 
> >
> >>Xavier Hervy wrote:
> >>
> >>   
> >>
> >>>With help from Leo Weppelman, i try to fix bug in madiea monito.
> >>>
> >>>What appeared is we can lock and unlock the cd drive only if we are root.
> >>>
> >>>     
> >>>
> >>That should be able to be solved by setting the proper permissions on 
> >>your drive.  I was able to lock and unlock my drive without incident 
> >>before the BSD patches went in.
> >>   
> >>
> >
> >Well, it does not work here:
> > ls -lL /dev/cdrom
> > brw-rw-rw-    1 root     disk       3,  64 Mar 14  2002 /dev/cdrom
> >
> > 
> >
> Do you still have root only as being in control of the drive in your fstab?

The line in my fstab reads:
 /dev/cdrom /cdrom      udf,iso9660     ro,users,noauto 0 0

So I think the answer to your question is 'no'.

> Not allowing a normal user to unlock a drive he's in control of is 
> stupid and if it's really the case it's yet another reason why I'm glad 
> I don't run a 2.6 kernel.

Well, the weird thing is: I checked the 2.4.24 source code and it has
exactly the same piece of code...

Leo.


More information about the mythtv-dev mailing list