On 5/3/07, Ken Moffat <[EMAIL PROTECTED]> wrote:
> On Thu, May 03, 2007 at 10:47:08AM -0700, Dan Nicholson wrote:
> > On 5/3/07, Ken Moffat <[EMAIL PROTECTED]> wrote:
> > > On Thu, May 03, 2007 at 09:50:39AM -0700, Dan Nicholson wrote:
> > > >
> > > > And you have normal root:root 660 permissions for the sg devices?
> > > >
> > >  A bit less, actually
> > > [EMAIL PROTECTED] ~/ripping $ls -l /dev/sg*
> > > crw-r----- 1 root disk 21, 0 2007-05-03 16:09 /dev/sg0
> > > crw-r----- 1 root disk 21, 1 2007-05-03 16:09 /dev/sg1
> >
> > That's what they have on suse, too, I think. I assume you're part of
> > the disk group? What happens if you try `cdparanoia -Q' without
> > permissions on the sg* devices?
> >
>  No, I'm not going to make a normal user part of the disk group!
>
> [EMAIL PROTECTED] ~/ripping $groups
> users lp audio
>
>  There's probably lots of differences between my memberships and
> blfs, but I think the point is that /dev/sg0 shouldn't be used.

Thanks for the confirmation, Ken. I was really hoping to avoid giving
normal users write access the SCSI generic devices.

>  Checking back in my personal mailbox, I seem to have had the exact
> same symptoms you are describing (and it worked for root) in early
> December (asked on lkml), and upgrading cdparanoia fixed it for me.
> http://www.uwsg.iu.edu/hypermail/linux/kernel/0612.0/0271.html

Excellent. I'll certainly try it out when I get home. Looking at the
diffs now, I see a lot of changes for scsi. Stuff like this for using
SG_IO:

http://cvs.fedora.redhat.com/viewcvs/devel/cdparanoia/cdparanoia-III-alpha9.8.sgio.patch?view=markup

Looks promising. Maybe we should look into this for BLFS as more
people move to libata on newer kernels.

--
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to