Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 2006 17:23:52 -0400
From:      Duane Whitty <duane@greenmeadow.ca>
To:        Oliver Iberien <oliver-forward@charter.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: k3b incorrectly identifies scsi r/w drive as read-only -- Mode sense fails
Message-ID:  <44246368.7060603@greenmeadow.ca>
In-Reply-To: <200603241252.06472.oliver-forward@charter.net>
References:  <200603241201.13230.oliver.iberien@charter.net> <200603241226.21325.oliver-forward@charter.net> <d5eb95fc0603241229r56932aadw38181449a5081dde@mail.gmail.com> <200603241252.06472.oliver-forward@charter.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Oliver Iberien wrote:
> On Friday 24 March 2006 12:29, you wrote:
>   
>> On 3/24/06, Oliver Iberien <oliver-forward@charter.net> wrote:
>>     
>>> On Friday 24 March 2006 12:12, you wrote:
>>>       
>>>> On 3/24/06, Oliver Iberien <oliver.iberien@charter.net> 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]



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