possible solution to cdbakeoven failing to detect ATAPI burners

Holger Bauer timewax at web.de
Thu Nov 27 10:59:49 PST 2003


Charles Howse wrote:

>On Thursday 27 November 2003 11:16 am, Lowell Gilbert wrote:
>  
>
>>Charles Howse <chowse at charter.net> writes:
>>    
>>
>>>There has been signifigant discussion here in the past about cdbakeoven
>>>not detecting ATAPI burners when run as an ordinary user.
>>>
>>>I had this issue, and may have a solution.
>>>
>>>Be sure your kernel is compiled with device atapicam.
>>>
>>>As root do:
>>># chmod u+s /usr/local/bin/cdrecord
>>>Which will allow cdrecord to run as suid root.
>>>      
>>>
>>In other words, it's still not being run as an ordinary user...
>>    
>>
>
>cdbakeoven *is* being run as an ordinary user, which was the original issue, 
>but to detect an atapi burner, it has to do 'cdrecord -scanbus', which will 
>fail if not run as root.  Make sense?
>
>
>  
>
You can simply give a normal user rw-access to /dev/cd*, /dev/xpt* and 
/dev/pass* and it works too. No need to set suid cdrecord. IMHO a much 
better solution.

Holger



More information about the freebsd-questions mailing list