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 20:32:13
> On Sun, Aug 06, 2006 at 01:54:49PM +0300, Aleksey Cheusov wrote:
 >> Two questions: 1) are owner/group and permissions of /dev/* files
 >> changed during source/binary upgrade?

> Good question, I don't know.
If changing permisions and ownership of /dev/ files is "normal"
operation for local administration in NetBSD (sounds strange for me,
but...), then /dev files should be treated just like /etc files. So,
who knows the answer and where is the best place to ask about result
of source/binary updates for /dev files and future plans for this?

 >> 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)?

> You could also make /dev/[r]cd* world readable and writable, of
> course.

True, I just forget about this :) In my view /dev/cd* files readable by
world is much worse solution than changing group to 'cdrom' or
something. Isn't it? ;)

-- 
Best regards, Aleksey Cheusov.