Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Nov 2003 20:00:35 +0100
From:      Holger Bauer <timewax@web.de>
To:        FBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: possible solution to cdbakeoven failing to detect ATAPI burners
Message-ID:  <3FC649D3.5010407@web.de>
In-Reply-To: <200311271125.31998.chowse@charter.net>
References:  <200311271102.20318.chowse@charter.net> <44wu9lu3zh.fsf@be-well.ilk.org> <200311271125.31998.chowse@charter.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Charles Howse wrote:

>On Thursday 27 November 2003 11:16 am, Lowell Gilbert wrote:
>  
>
>>Charles Howse <chowse@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FC649D3.5010407>