Subject: Re: NetBSD Guide section 12.8: some incompletness
To: Pavel Cahyna <pavel@NetBSD.org>
From: Aleksey Cheusov <cheusov@tut.by>
List: netbsd-docs
Date: 09/08/2006 21:42:19
> On Thu, Sep 07, 2006 at 11:43:01PM +0300, Aleksey Cheusov wrote:
>> 12.8. Using audio CDs with NetBSD
>> subsection 2. To read ("rip") audio tracks)
>>
>> Sorry for being intrusive, but this section is somewhat incomplete too.
>>
>> Things described is there just don't work (at least with
>> cdparanoia) because the ordinary users have no write permissions to
>> /dev/cd0X devices required to grab CDs.
>> The default permissions are root:operator - 640.
>>
>> I see the following solutions for this:
>> - chmod +s /usr/pkg/bin/cdparanoia
>> that allows wheel members to grab CDs.
I missed
chmod o-rx /usr/pkg/bin/cdparanoia
here
>> For obvious reasons this is probably the worst method.
>> - chmod g+w
>> Bad too. CD grabhbing users should not be able to reade sdX/wdX.
> how are permissions of cdX related to sdX/wdX ?
and
useradd -G operator <username>
here.
--
Best regards, Aleksey Cheusov.