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/05/2006 02:05:01
 >> 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).

 >> Should cdparanoia be installed using suid bit enabled.
 >> If yes, should I send-pr about this or somebody from this mailing list
 >> can fix this?
 >> 
 >> P.S.
 >> Why /dev/[r]cd* and /dev/[r]wd* devices have the same group ownership
 >> 'operator' in NetBSD?  Isn't better to switch /dev/cd* group to

> All disk devices are like this.
CDs are removeable and don't contain system files, private user's files,
passwords etc...
So, allowing a user to read from CD doesn't mean
that entire system is open to him.

You didn't answer the question ;)
Can I treat the absense of suid bit of cdparanoia executable and
no words about it in MESSAGE as a minor bug of pkgsrc?

 >> from 'operator' to 'cdrom' group or something similar?

> Maybe. You can do it yourself on your system for now :-)
Of course, I can, is it processed correctly by
./build.sh install, /usr/sbin/postinstall, etc.?

-- 
Best regards, Aleksey Cheusov.