Subject: Re: cdparanoia: Could not open ... /dev/rcd0d: Permission denied
To: Pavel Cahyna <pavel@netbsd.org>
From: Aleksey Cheusov <cheusov@tut.by>
List: netbsd-help
Date: 08/06/2006 13:54:49
> On Sat, Aug 05, 2006 at 02:05:01AM +0300, Aleksey Cheusov wrote:
 >> 
 >>  >> 0 ~>cdparanoia -v -g /dev/rcd0d 1 track-01.wav
 >> ...
 >>  >>       Could not open generic SCSI device /dev/rcd0d: Permission denied
 >>  >> 
 >>  >> 1 ~>
 >>  >> 
 >>  >> I'm a member of 'operator' group
 >>  >> but this doesn't help.
 >> 
 >> > Are you sure the 'operator' group has write access to /dev/rcd0d ?
 >> 
 >> I don't need write permission, just read (cdparanoia to to produce .wav).

> Are you sure? Try giving yourself write permissions and see what happens.

It works. Thanks.
Two questions:
1)
are owner/group and permissions of /dev/* files changed during
source/binary upgrade?
2)
I would like to give a user to give ability to grab CDs
but not to read /dev/[ws]d* devices.
For this, I've changed group of /dev/[r]cd* files.
Is this the only way (I don't want to set suid bit to cdparanoia)?

-- 
Best regards, Aleksey Cheusov.