Re: ERROR: FAQ 13.3

"J.C. Roberts" <[email protected]>
Newsgroups gmane.os.openbsd.www
Organization DesignTools
Message-ID <[email protected]>
On Friday 30 March 2007 05:58, steven mestdagh wrote:
> J.C. Roberts [2007-03-30, 01:40:11]:
> > The cdio program requires both read and write permissions, even
> > when it is only playing (reading). If you're in the 'operator'
> > group, you can not play cd's with cdio when default permissions are
> > in place, since you'll only have read access.
>
> No, cdio only requires read permission on the device for playing.
> Works just fine here.
>
> Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Yep, you're right. I'm an idiot. I was testing in a shell that was 
opened prior to adding the 'operator' group to the user (from another 
shell). I kept getting:

	$ whoami
	tester

	$ user info tester
	login   tester
	passwd  *
	uid     1001
	groups  tester operator
	change  NEVER
	class
	gecos   tester
	dir     /home/tester
	shell   /bin/ksh
	expire  NEVER

	$ cdio
	No CD device name specified. Defaulting to cd0.
	Compact Disc Control utility, version 2.1
	Type `?' for command list

	cdio> play
	cdio: Can't open /dev/rcd0c: Permission denied
	cdio>                                                   


If the shell is opened *after* being added to the operator group, cdio 
works perfectly. I should f'ing know better.

jcr
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.