k3b incorrectly identifies scsi r/w drive as read-only -- Mode sense fails

Duane Whitty duane at greenmeadow.ca
Fri Mar 24 21:24:55 UTC 2006


Oliver Iberien wrote:
> On Friday 24 March 2006 12:29, you wrote:
>   
>> On 3/24/06, Oliver Iberien <oliver-forward at charter.net> wrote:
>>     
>>> On Friday 24 March 2006 12:12, you wrote:
>>>       
>>>> On 3/24/06, Oliver Iberien <oliver.iberien at 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]


More information about the freebsd-questions mailing list