From owner-freebsd-questions@FreeBSD.ORG Thu Nov 27 10:59:49 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06F2216A4CE for ; Thu, 27 Nov 2003 10:59:49 -0800 (PST) Received: from smtp.web.de (smtp01.web.de [217.72.192.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A0A243FDF for ; Thu, 27 Nov 2003 10:59:48 -0800 (PST) (envelope-from timewax@web.de) Received: from pd9ef0650.dip.t-dialin.net ([217.239.6.80] helo=web.de) by smtp.web.de with asmtp (WEB.DE 4.99 #516) id 1APRMg-0003ex-00 for freebsd-questions@freebsd.org; Thu, 27 Nov 2003 19:59:46 +0100 Message-ID: <3FC649D3.5010407@web.de> Date: Thu, 27 Nov 2003 20:00:35 +0100 From: Holger Bauer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FBSD Questions References: <200311271102.20318.chowse@charter.net> <44wu9lu3zh.fsf@be-well.ilk.org> <200311271125.31998.chowse@charter.net> In-Reply-To: <200311271125.31998.chowse@charter.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: timewax@web.de Subject: Re: possible solution to cdbakeoven failing to detect ATAPI burners X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Nov 2003 18:59:49 -0000 Charles Howse wrote: >On Thursday 27 November 2003 11:16 am, Lowell Gilbert wrote: > > >>Charles Howse 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