From owner-freebsd-questions@FreeBSD.ORG Fri Mar 24 21:24:55 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 1F65F16A42D for ; Fri, 24 Mar 2006 21:24:55 +0000 (UTC) (envelope-from duane@greenmeadow.ca) Received: from smtpout.eastlink.ca (smtpout.eastlink.ca [24.222.0.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5797F43D5F for ; Fri, 24 Mar 2006 21:24:51 +0000 (GMT) (envelope-from duane@greenmeadow.ca) Received: from ip01.eastlink.ca ([24.222.10.5]) by mta01.eastlink.ca (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0IWN00ECEI594ME0@mta01.eastlink.ca> for freebsd-questions@freebsd.org; Fri, 24 Mar 2006 17:24:45 -0400 (AST) Received: from blk-224-199-230.eastlink.ca (HELO [192.168.0.103]) ([24.224.199.230]) by ip01.eastlink.ca with ESMTP; Fri, 24 Mar 2006 17:24:50 -0400 Date: Fri, 24 Mar 2006 17:23:52 -0400 From: Duane Whitty In-reply-to: <200603241252.06472.oliver-forward@charter.net> To: Oliver Iberien Message-id: <44246368.7060603@greenmeadow.ca> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAQAAA+k= References: <200603241201.13230.oliver.iberien@charter.net> <200603241226.21325.oliver-forward@charter.net> <200603241252.06472.oliver-forward@charter.net> User-Agent: Thunderbird 1.5 (X11/20060309) Cc: freebsd-questions@freebsd.org Subject: Re: k3b incorrectly identifies scsi r/w drive as read-only -- Mode sense fails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Mar 2006 21:24:55 -0000 Oliver Iberien wrote: > On Friday 24 March 2006 12:29, you wrote: > >> On 3/24/06, Oliver Iberien wrote: >> >>> On Friday 24 March 2006 12:12, you wrote: >>> >>>> On 3/24/06, Oliver Iberien wrote: >>>> >>>>> I've got my Plextor PX-W4012S SCSI R/W drive recognized by k3b by >>>>> >>> adding >>> >>>>> ALL ALL = NOPASSWD: /sbin/camcontrol devlist >>>>> to sudoers and starting k3b with sudo. Unfortunately, k3b has the >>>>> idea that >>>>> this is read-only. >>>>> > [snip] > > [snip] > >>>> but /etc/devfs.conf (i think) has places where you can set the >>>> permission to devices. I believe I did 0666 (read/write to all) for >>>> acd0, cdrom0,... >>>> >>> pass0, >>> > [snip] > >>> I had done that. I can access the drive, but it is still not being >>> correctly >>> recognized as a writer. >>> > [snip] > >> What happens when you run k3b as root (just to test) >> >> Also, what are the permissions on >> (assuming the writer is the first cd device) >> /dev/cd0 >> /dev/acd0 >> /dev/pass0 >> > > From /etc/devfs.conf: > own acd0 root:wheel > own cd0 root:wheel > own pass0 root:wheel > perm pass0 0666 > perm acd 0666 > perm cd0 0666 > perm /cdrom 0666 > perm /cdrom1 0666 > own /cdrom 0666 > own /cdrom1 0666 > Hi, I believe you may also need in defs.conf perm xpt0 0666 --Duane [snip]